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 rollover to be made based on time. It is possible to specify that the rollover 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ü