Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.appender.rolling.action |
Support classes for the Rolling File Appender.
|
Modifier and Type | Method | Description |
---|---|---|
Action |
RolloverDescription.getAsynchronous() |
Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
|
Action |
RolloverDescriptionImpl.getAsynchronous() |
Action to be completed after close of current active log file
and before next rollover attempt, may be executed asynchronously.
|
Action[] |
DefaultRolloverStrategy.Builder.getCustomActions() |
|
Action[] |
DirectWriteRolloverStrategy.Builder.getCustomActions() |
|
Action |
RolloverDescription.getSynchronous() |
Action to be completed after close of current active log file
before returning control to caller.
|
Action |
RolloverDescriptionImpl.getSynchronous() |
Action to be completed after close of current active log file
before returning control to caller.
|
protected Action |
AbstractRolloverStrategy.merge(Action compressAction,
List<Action> custom,
boolean stopOnError) |
Modifier and Type | Method | Description |
---|---|---|
List<Action> |
DefaultRolloverStrategy.getCustomActions() |
|
List<Action> |
DirectWriteRolloverStrategy.getCustomActions() |
Modifier and Type | Method | Description |
---|---|---|
static DefaultRolloverStrategy |
DefaultRolloverStrategy.createStrategy(String max,
String min,
String fileIndex,
String compressionLevelStr,
Action[] customActions,
boolean stopCustomActionsOnError,
Configuration config) |
Deprecated.
Since 2.9 Usage of Builder API is preferable
|
static DirectWriteRolloverStrategy |
DirectWriteRolloverStrategy.createStrategy(String maxFiles,
String compressionLevelStr,
Action[] customActions,
boolean stopCustomActionsOnError,
Configuration config) |
Deprecated.
Since 2.9 Usage of Builder API is preferable
|
protected Action |
AbstractRolloverStrategy.merge(Action compressAction,
List<Action> custom,
boolean stopOnError) |
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withCustomActions(Action[] customActions) |
Defines custom actions.
|
DirectWriteRolloverStrategy.Builder |
DirectWriteRolloverStrategy.Builder.withCustomActions(Action[] customActions) |
Defines custom actions.
|
Modifier and Type | Method | Description |
---|---|---|
protected Action |
AbstractRolloverStrategy.merge(Action compressAction,
List<Action> custom,
boolean stopOnError) |
Constructor | Description |
---|---|
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError) |
Deprecated.
Since 2.9 Added tempCompressedFilePatternString parameter
|
DefaultRolloverStrategy(int minIndex,
int maxIndex,
boolean useMax,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError,
String tempCompressedFilePatternString) |
Constructs a new instance.
|
DirectWriteRolloverStrategy(int maxFiles,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError) |
Deprecated.
Since 2.9 Added tempCompressedFilePatternString parameter
|
DirectWriteRolloverStrategy(int maxFiles,
int compressionLevel,
StrSubstitutor strSubstitutor,
Action[] customActions,
boolean stopCustomActionsOnError,
String tempCompressedFilePatternString) |
Constructs a new instance.
|
RolloverDescriptionImpl(String activeFileName,
boolean append,
Action synchronous,
Action asynchronous) |
Create new instance.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractAction |
Abstract base class for implementations of Action.
|
class |
AbstractPathAction |
Abstract action for processing files that are accepted by the specified PathFilters.
|
class |
CommonsCompressAction |
Compresses a file using bzip2 compression.
|
class |
CompositeAction |
A group of Actions to be executed in sequence.
|
class |
DeleteAction |
Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.
|
class |
FileRenameAction |
File rename action.
|
class |
GzCompressAction |
Compresses a file using GZ compression.
|
class |
PosixViewAttributeAction |
File posix attribute view action.
|
class |
ZipCompressAction |
Compresses a file using Zip compression.
|
Modifier and Type | Method | Description |
---|---|---|
Action[] |
CompositeAction.getActions() |
Constructor | Description |
---|---|
CompositeAction(List<Action> actions,
boolean stopOnError) |
Construct a new composite action.
|
Copyright © 1999-2018. 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.