mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 17:32:28 +00:00
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)
This commit is contained in:
1 parent
5f3fcd2f37
commit
2ff7efadc2
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user