Top Description Interfaces Classes
module ch.qos.logback.core

Package ch.qos.logback.core.rolling


Implements various file rolling policies.

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

Interface Summary

Modifier and TypeInterface and Description
public interface
RollingPolicy

A RollingPolicy is responsible for performing the rolling over of the active log file.

public interface
TimeBasedFileNamingAndTriggeringPolicy<E>

This interface lists the set of methods that need to be implemented by triggering policies which are nested within a TimeBasedRollingPolicy.

public interface
TriggeringPolicy<E>

A TriggeringPolicy controls the conditions under which roll-over occurs.

Class Summary

Modifier and TypeClass and Description
public class
public class
FixedWindowRollingPolicy

When rolling over, FixedWindowRollingPolicy renames files according to a fixed window algorithm.

public class
RollingFileAppender<E>

RollingFileAppender extends FileAppender to back up the log files depending on RollingPolicy and TriggeringPolicy.

public abstract class
RollingPolicyBase

Implements methods common to most, it not all, rolling policies.

public class
RolloverFailure

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

public class
public class
public class
SizeBasedTriggeringPolicy<E>

SizeBasedTriggeringPolicy looks at size of the file being currently written to.

public abstract class
public class
TimeBasedRollingPolicy<E>

TimeBasedRollingPolicy is both easy to configure and quite powerful.

public abstract class
TriggeringPolicyBase<E>

SizeBasedTriggeringPolicy looks at size of the file being currently written to.