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

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

try to silence log errors at shutdown

parent 76c1f47b
No related branches found
No related tags found
No related merge requests found
......@@ -137,8 +137,10 @@ class LogWriter implements Runnable {
// may be a little off if a lot of multi-byte chars, but unlikely
_numBytesInCurrentFile += val.length();
} catch (Throwable t) {
System.err.println("Error writing record, disk full?");
t.printStackTrace();
if (!_write)
return;
System.err.println("Error writing log, disk full? " + t);
//t.printStackTrace();
}
if (_numBytesInCurrentFile >= _manager.getFileSize()) {
rotateFile();
......
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