Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
Class and Description |
---|
RolloverStrategy
A
RollingPolicy specifies the actions taken on a logging file rollover. |
TriggeringPolicy
A
TriggeringPolicy controls the conditions under which rollover
occurs. |
Class and Description |
---|
AbstractRolloverStrategy |
AbstractTriggeringPolicy
Abstract convenience class for triggering policies that extend
AbstractLifeCycle and implement
TriggeringPolicy . |
CompositeTriggeringPolicy
Triggering policy that wraps other triggering policies.
|
CronTriggeringPolicy
Rolls a file over based on a cron schedule.
|
DefaultRolloverStrategy
When rolling over,
DefaultRolloverStrategy renames files according to an algorithm as described below. |
DefaultRolloverStrategy.Builder
Builds DefaultRolloverStrategy instances.
|
DirectFileRolloverStrategy
Created by rgoers on 1/12/17.
|
DirectWriteRolloverStrategy
When rolling over,
DirectWriteRolloverStrategy writes directly to the file as resolved by the file
pattern. |
DirectWriteRolloverStrategy.Builder
Builds DirectWriteRolloverStrategy instances.
|
FileExtension
Enumerates over supported file extensions for compression.
|
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 a
ByteBuffer and a
RandomAccessFile to do the I/O. |
RolloverDescription
Description of actions needed to complete rollover.
|
RolloverFrequency
Enumeration of rollover frequency values.
|
RolloverStrategy
A
RollingPolicy specifies the actions taken on a logging file rollover. |
SizeBasedTriggeringPolicy |
TimeBasedTriggeringPolicy
Rolls a file over based on time.
|
TimeBasedTriggeringPolicy.Builder |
TriggeringPolicy
A
TriggeringPolicy controls the conditions under which rollover
occurs. |
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.