|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RollingPolicy
A RollingPolicy
specifies the actions taken
on a logging file rollover.
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.apache.log4j.spi.OptionHandler |
---|
activateOptions |
Method Detail |
---|
RolloverDescription initialize(java.lang.String file, boolean append) throws java.lang.SecurityException
file
- current value of RollingFileAppender.getFile().append
- current value of RollingFileAppender.getAppend().
java.lang.SecurityException
- if denied access to log files.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 |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.