I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 2ff7efad authored by jrandom's avatar jrandom Committed by zzz
Browse files

put logs in the console buffer even if we're not sending anything to the...

put logs in the console buffer even if we're not sending anything to the console (since this console buffer is shown as the /logs.jsp)
parent 5f3fcd2f
No related branches found
No related tags found
No related merge requests found
......@@ -99,9 +99,9 @@ class LogWriter implements Runnable {
String val = LogRecordFormatter.formatRecord(_manager, rec);
writeRecord(val);
// we always add to the console buffer, but only sometimes write to stdout
_manager.getBuffer().add(val);
if (_manager.getDisplayOnScreenLevel() <= rec.getPriority()) {
// we always add to the console buffer, but only sometimes write to stdout
_manager.getBuffer().add(val);
if (_manager.displayOnScreen()) {
System.out.print(val);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment