# Package ch.qos.logback.core.rolling

package ch.qos.logback.core.rolling

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`.

Related Packages
Package
Description
ch.qos.logback.core
Contains the main classes of logback core.
ch.qos.logback.core.rolling.helper
Internal helper classes used by `ch.qos.logback.core.rolling` package.
Class
Description
DefaultTimeBasedFileNamingAndTriggeringPolicy<E>
FixedWindowRollingPolicy
When rolling over, `FixedWindowRollingPolicy` renames files according to a fixed window algorithm.
RollingFileAppender<E>
`RollingFileAppender` extends `FileAppender` to backup the log files depending on `RollingPolicy` and `TriggeringPolicy`.
RollingPolicy
A `RollingPolicy` is responsible for performing the rolling over of the active log file.
RollingPolicyBase
Implements methods common to most, it not all, rolling policies.
RolloverFailure
A RolloverFailure occurs if, for whatever reason a rollover fails.
SizeAndTimeBasedFNATP<E>
SizeAndTimeBasedRollingPolicy<E>
SizeBasedTriggeringPolicy<E>
SizeBasedTriggeringPolicy looks at size of the file being currently written to.
TimeBasedFileNamingAndTriggeringPolicy<E>
This interface lists the set of methods that need to be implemented by triggering policies which are nested within a `TimeBasedRollingPolicy`.
TimeBasedFileNamingAndTriggeringPolicyBase<E>
TimeBasedRollingPolicy<E>
`TimeBasedRollingPolicy` is both easy to configure and quite powerful.
TriggeringPolicy<E>
A `TriggeringPolicy` controls the conditions under which roll-over occurs.
TriggeringPolicyBase<E>
SizeBasedTriggeringPolicy looks at size of the file being currently written to.