mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 19:43:11 +00:00
* Logging: Fix directory for rotated log
This commit is contained in:
1 parent
2e2bff3f0a
commit
01bed932c7
1 file changed
+4
-1
@@ -196,7 +196,10 @@ class LogWriter implements Runnable {
|
||||
_rotationNum++;
|
||||
if (_rotationNum > max) _rotationNum = 0;
|
||||
|
||||
return new File(replace(pattern, _rotationNum));
|
||||
String newf = replace(pattern, _rotationNum);
|
||||
if (base != null)
|
||||
return new File(base, newf);
|
||||
return new File(newf);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user