Log4j 1.3alpha-5

Package org.apache.log4j.rolling

Implements various file rolling policies.

See:
          Description

Interface Summary
RollingPolicy A RollingPolicy is responsible for performing the rolling over of the active log file.
TriggeringPolicy A TriggeringPolicy controls the conditions under which rollover occurs.
 

Class Summary
FixedWindowRollingPolicy When rolling over, FixedWindowRollingPolicy renames files according to a fixed window algorithm as described below.
RollingFileAppender RollingFileAppender extends FileAppender to backup the log files depending on RollingPolicy and TriggeringPolicy.
RollingPolicyBase Implements methods common to most, it not all, rolling policies.
SizeBasedTriggeringPolicy SizeBasedTriggeringPolicy looks at size of the file being currently written to.
TimeBasedRollingPolicy TimeBasedRollingPolicy is both easy to configure and quite powerful.
 

Exception Summary
RolloverFailure A RolloverFailure occurs if, for whatever reason a rollover fails.
 

Package org.apache.log4j.rolling Description

Implements various file rolling policies.

The RollingFileAppender class serves as the linchpin of this package. Its behaviour is controlled by two subcomponents of type RollingPolicy and TriggeringPolicy.


Log4j 1.3alpha-5

Copyright 2000-2005 Apache Software Foundation.