|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A RollingPolicy
specifies the actions taken
on a logging file rollover.
Method Summary | |
RolloverDescription |
initialize(String file,
boolean append)
Initialize the policy and return any initial actions for rolling file appender.. |
RolloverDescription |
rollover(String activeFile)
Prepare for a rollover. |
Methods inherited from interface org.apache.log4j.spi.OptionHandler |
activateOptions |
Method Detail |
public RolloverDescription initialize(String file, boolean append) throws SecurityException
file
- current value of RollingFileAppender.getFile().append
- current value of RollingFileAppender.getAppend().
SecurityException
- if denied access to log files.public RolloverDescription rollover(String activeFile) throws SecurityException
activeFile
- file name for current active log file.
SecurityException
- if denied access to log files.
|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |