|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RollingPolicy
is responsible for performing the
rolling over of the active log file. The RollingPolicy
is also responsible for providing the active log file,
that is the live file where logging output will be directed.
Method Summary | |
java.lang.String |
getActiveFileName()
Get the new name of the active log file. |
void |
rollover()
Rolls over log files according to implementation policy. |
Methods inherited from interface org.apache.log4j.spi.OptionHandler |
activateOptions |
Method Detail |
public void rollover() throws RolloverFailure
This method is invoked by RollingFileAppender
, usually
at the behest of its TriggeringPolicy
.
RolloverFailure
- Thrown if the rollover operation fails for any
reason.public java.lang.String getActiveFileName()
|
Log4j 1.3alpha-5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |