|
||||||||||
| 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.
Logging API as a whole was originally done for Apache log4j. Juli is a port of main parts of that to complete the Java Logging APIs. All credits for initial idea, design, implementation, documentation belong to the log4j crew. This file was originally published by Ceki Gülcü, Curt Arnold. Please use exclusively the appropriate mailing lists for questions, remarks and contribution.
| Method Summary | |
RolloverDescription |
initialize(java.lang.String file,
boolean append)
Initialize the policy and return any initial actions for rolling file appender.. |
RolloverDescription |
rollover(java.lang.String activeFile)
Prepare for a rollover. |
| Methods inherited from interface org.x4juli.global.spi.OptionHandler |
activateOptions |
| Method Detail |
public RolloverDescription initialize(java.lang.String file,
boolean append)
throws java.lang.SecurityException
file - current value of RollingFileHandler.getFile().append - current value of RollingFileHandler.getAppend().
java.lang.SecurityException - if denied access to log files.
public RolloverDescription rollover(java.lang.String activeFile)
throws java.lang.SecurityException
activeFile - file name for current active log file.
java.lang.SecurityException - if denied access to log files.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||