diff --git a/core/java/src/net/i2p/util/LogWriter.java b/core/java/src/net/i2p/util/LogWriter.java index 1714d1700..8f6b0d4c8 100644 --- a/core/java/src/net/i2p/util/LogWriter.java +++ b/core/java/src/net/i2p/util/LogWriter.java @@ -81,7 +81,7 @@ class LogWriter implements Runnable { if (_currentOut != null) _currentOut.flush(); } catch (IOException ioe) { - if (++_diskFullMessageCount < MAX_DISKFULL_MESSAGES) + if (_write && ++_diskFullMessageCount < MAX_DISKFULL_MESSAGES) System.err.println("Error writing the router log - disk full? " + ioe); } }