OrRotateStrategy, RotateStrategyByDate, RotateStrategyBySize, RotateStrategyByTime, RotateStrategyByTimeOfDaypublic interface RotateStrategy
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isRotationNeeded(java.lang.String data,
java.io.File file) |
Check if a log rotation is neccessary at this time.
|
void |
reset() |
Reset cumulative rotation history data.
|
void reset()
boolean isRotationNeeded(java.lang.String data,
java.io.File file)
data - the serialized version of the message about to be written
to the log systemfile - the File that we are writing toCopyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.