Package org.apache.logging.log4j.core.appender.rolling
@Export
@Version("2.21.1")
package org.apache.logging.log4j.core.appender.rolling
Rolling File Appender and support classes.
-
ClassDescriptionAbstract convenience class for triggering policies that extend
AbstractLifeCycleand implementTriggeringPolicy.Triggering policy that wraps other triggering policies.Rolls a file over based on a cron schedule.When rolling over,DefaultRolloverStrategyrenames files according to an algorithm as described below.Builds DefaultRolloverStrategy instances.Created by rgoers on 1/12/17.When rolling over,DirectWriteRolloverStrategywrites directly to the file as resolved by the file pattern.Builds DirectWriteRolloverStrategy instances.Enumerates over supported file extensions for compression.FileSize utility class.Triggers a rollover on every restart, but only if the file size is greater than zero.Parses the rollover pattern.The Rolling File Manager.Extends RollingFileManager but instead of using a buffered output stream, this class uses aByteBufferand aRandomAccessFileto do the I/O.Description of actions needed to complete rollover.Description of actions needed to complete rollover.Enumeration of rollover frequency values.Implementations of this interface that are registered with the RollingFileManager will be notified before and after a rollover occurs.ARollingPolicyspecifies the actions taken on a logging file rollover.Rolls a file over based on time.ATriggeringPolicycontrols the conditions under which rollover occurs.