diff --git a/core/java/src/net/i2p/util/LogWriter.java b/core/java/src/net/i2p/util/LogWriter.java index 1714d170047c22a2ef97a3812162769af2dae01d..8f6b0d4c8c565285ca69afbe0f968a8f5871f6a7 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); } }