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

Skip to content
Snippets Groups Projects
Commit dccdb996 authored by zzz's avatar zzz
Browse files

prevent log error at shutdown

parent 94af227b
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ class LogWriter implements Runnable { ...@@ -81,7 +81,7 @@ class LogWriter implements Runnable {
if (_currentOut != null) if (_currentOut != null)
_currentOut.flush(); _currentOut.flush();
} catch (IOException ioe) { } 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); System.err.println("Error writing the router log - disk full? " + ioe);
} }
} }
......
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