Browse Source

Logging change.

tags/1.0.4
Yuk-Ming Lam 5 years ago
parent
commit
7dd28add82
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/java/altk/comm/engine/Postback.java

+ 2
- 2
src/main/java/altk/comm/engine/Postback.java View File

@@ -415,7 +415,7 @@ public class Postback
try try
{ {
threadsWaitingToPost++; threadsWaitingToPost++;
myLogger.debug(String.format("Waiting to post report - postqueue size %d, total waiting %d", postQueue.size(), threadsWaitingToPost));
myLogger.debug(String.format("Waiting for space in postQueue - size %d, total waiting %d", postQueue.size(), threadsWaitingToPost));
postQueue.wait(QUEUE_WAIT * 1000); postQueue.wait(QUEUE_WAIT * 1000);
threadsWaitingToPost--; threadsWaitingToPost--;
} }
@@ -426,7 +426,7 @@ public class Postback
} }
} }
} }
myLogger.info("Interrupted while waiting for space to queue report");
myLogger.info("Interrupted while waiting for space in postQueue");
return false; return false;
} }


Loading…
Cancel
Save