Package org.apache.logging.log4j.core.appender.rolling
Rolling File Appender and support classes.
-
Interface Summary Interface Description DirectFileRolloverStrategy Created by rgoers on 1/12/17.RolloverDescription Description of actions needed to complete rollover.RolloverStrategy ARollingPolicyspecifies the actions taken on a logging file rollover.TriggeringPolicy ATriggeringPolicycontrols the conditions under which rollover occurs. -
Class Summary Class Description AbstractRolloverStrategy AbstractTriggeringPolicy Abstract convenience class for triggering policies that extendAbstractLifeCycleand implementTriggeringPolicy.CompositeTriggeringPolicy Triggering policy that wraps other triggering policies.CronTriggeringPolicy Rolls a file over based on a cron schedule.DefaultRolloverStrategy When rolling over,DefaultRolloverStrategyrenames files according to an algorithm as described below.DefaultRolloverStrategy.Builder Builds DefaultRolloverStrategy instances.DirectWriteRolloverStrategy When rolling over,DirectWriteRolloverStrategywrites directly to the file as resolved by the file pattern.DirectWriteRolloverStrategy.Builder Builds DirectWriteRolloverStrategy instances.FileSize FileSize utility class.NoOpTriggeringPolicy OnStartupTriggeringPolicy Triggers a rollover on every restart, but only if the file size is greater than zero.PatternProcessor Parses the rollover pattern.RollingFileManager The Rolling File Manager.RollingRandomAccessFileManager Extends RollingFileManager but instead of using a buffered output stream, this class uses aByteBufferand aRandomAccessFileto do the I/O.RolloverDescriptionImpl Description of actions needed to complete rollover.SizeBasedTriggeringPolicy TimeBasedTriggeringPolicy Rolls a file over based on time.TimeBasedTriggeringPolicy.Builder -
Enum Summary Enum Description FileExtension Enumerates over supported file extensions for compression.RolloverFrequency Enumeration of rollover frequency values.