forked from I2P_Developers/i2p.i2p
* Logging: Fix directory for rotated log
This commit is contained in:
@@ -196,7 +196,10 @@ class LogWriter implements Runnable {
|
|||||||
_rotationNum++;
|
_rotationNum++;
|
||||||
if (_rotationNum > max) _rotationNum = 0;
|
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