Browse Source

Start report in a new line in logging.

Add time of wait when waiting for available space in postQueue.
tags/Production_2016_10_17
ymlam 9 years ago
parent
commit
c7edb78aad
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/altk/comm/engine/postback/PostBack.java

+ 2
- 2
src/altk/comm/engine/postback/PostBack.java View File

@@ -174,7 +174,7 @@ public class PostBack
xml.append("<"); xml.append(xmlTopElement); xml.append(">"); xml.append("<"); xml.append(xmlTopElement); xml.append(">");
for (String report : reportList) for (String report : reportList)
{ {
xml.append(report);
xml.append(report + "\r\n");
} }
xml.append("</"); xml.append(xmlTopElement); xml.append(">"); xml.append("</"); xml.append(xmlTopElement); xml.append(">");
@@ -392,7 +392,7 @@ public class PostBack
myLogger.debug("Waiting for space in postQueue to queue report"); myLogger.debug("Waiting for space in postQueue to queue report");
try try
{ {
postQueue.wait();
postQueue.wait(QUEUE_WAIT * 1000);
} }
catch (InterruptedException e) catch (InterruptedException e)
{ {


Loading…
Cancel
Save