diff --git a/core/java/src/net/i2p/util/LogWriter.java b/core/java/src/net/i2p/util/LogWriter.java index 8f6b0d4c8c565285ca69afbe0f968a8f5871f6a7..5aa53e7eae0d25a46d4ba5c917efd2821d3c212a 100644 --- a/core/java/src/net/i2p/util/LogWriter.java +++ b/core/java/src/net/i2p/util/LogWriter.java @@ -122,7 +122,7 @@ class LogWriter implements Runnable { if (_manager.getDisplayOnScreenLevel() <= rec.getPriority()) { if (_manager.displayOnScreen()) { // wrapper log already does time stamps, so reformat without the date - if (System.getProperty("wrapper.version") != null) + if (_manager.getContext().hasWrapper()) System.out.print(LogRecordFormatter.formatRecord(_manager, rec, false)); else System.out.print(val);