mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 17:32:28 +00:00
try to silence log errors at shutdown
This commit is contained in:
1 parent
76c1f47b20
commit
b97f4f8bd7
1 file changed
+4
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user