this.rotationInterval = interval;
this.rotationHistory = history;
// FIXME how do we get the file created time?
Time created = file.exists() ? new Time(file.lastModified())
: new Time();
nextRotation = created.plus(interval);
}
@Override
public String toString() {
return "LogFile:" + file.getAbsolutePath();