* Logging: Fix directory for rotated log

This commit is contained in:
zzz
2009-09-01 14:47:16 +00:00
parent 2e2bff3f0a
commit 01bed932c7

View File

@ -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);
}
/**