Formating in logs
This commit is contained in:
parent
159805701c
commit
38fe457f47
@ -211,7 +211,7 @@ public final class ReadingRunnable implements Runnable {
|
||||
}
|
||||
waiting = true;
|
||||
waitMessage(TIMEOUT);
|
||||
LOGGER.finest("Polled: " + messages.peek()); //$NON-NLS-1$
|
||||
LOGGER.log(Level.FINEST, "Polled: {0}", messages.peek()); //$NON-NLS-1$
|
||||
waiting = false;
|
||||
notifyMessage(messages.peek());
|
||||
return messages.poll();
|
||||
@ -335,7 +335,7 @@ public final class ReadingRunnable implements Runnable {
|
||||
setRunning(false);
|
||||
return;
|
||||
}
|
||||
LOGGER.finer("Read: " + line); //$NON-NLS-1$
|
||||
LOGGER.log(Level.FINER, "Read: {0}", line); //$NON-NLS-1$
|
||||
line = stripNull(line);
|
||||
synchronized (lock) {
|
||||
messages.add(line);
|
||||
|
Loading…
Reference in New Issue
Block a user