Uses of Package
org.apache.logging.log4j.core.appender.rolling
Package
Description
Log4j 2 Appenders.
Rolling File Appender and support classes.
-
ClassDescriptionA
RollingPolicy
specifies the actions taken on a logging file rollover.ATriggeringPolicy
controls the conditions under which rollover occurs. -
ClassDescriptionAbstract convenience class for triggering policies that extend
AbstractLifeCycle
and implementTriggeringPolicy
.Triggering policy that wraps other triggering policies.Rolls a file over based on a cron schedule.When rolling over,DefaultRolloverStrategy
renames files according to an algorithm as described below.Builds DefaultRolloverStrategy instances.Created by rgoers on 1/12/17.When rolling over,DirectWriteRolloverStrategy
writes directly to the file as resolved by the file pattern.Builds DirectWriteRolloverStrategy instances.Enumerates over supported file extensions for compression.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 aByteBuffer
and aRandomAccessFile
to do the I/O.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.ARollingPolicy
specifies the actions taken on a logging file rollover.Rolls a file over based on time.ATriggeringPolicy
controls the conditions under which rollover occurs.