ClassDescriptionWhen rolling over,
FixedWindowRollingPolicyrenames files according to a fixed window algorithm.A
RollingPolicyis responsible for performing the rolling over of the active log file.Implements methods common to most, it not all, rolling policies.A RolloverFailure occurs if, for whatever reason a rollover fails.SizeBasedTriggeringPolicy looks at size of the file being currently written to.This interface lists the set of methods that need to be implemented by triggering policies which are nested within a
TimeBasedRollingPolicyis both easy to configure and quite powerful.A
TriggeringPolicycontrols the conditions under which roll-over occurs.SizeBasedTriggeringPolicy looks at size of the file being currently written to.