Class TimeBasedRollingPolicy<E>

All Implemented Interfaces:
RollingPolicy, TriggeringPolicy<E>, ContextAware, LifeCycle
Direct Known Subclasses:
SizeAndTimeBasedRollingPolicy

public class TimeBasedRollingPolicy<E> extends RollingPolicyBase implements TriggeringPolicy<E>
TimeBasedRollingPolicy is both easy to configure and quite powerful. It allows the roll over to be made based on time. It is possible to specify that the roll over occur once per day, per week or per month.

For more information, please refer to the online manual at http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy

Author:
Ceki Gülcü