Uses of Interface
org.apache.logging.log4j.core.appender.rolling.action.Action
Package
Description
Rolling File Appender and support classes.
Support classes for the Rolling File Appender.
-
Uses of Action in org.apache.logging.log4j.core.appender.rolling
Modifier and TypeMethodDescriptionabstract Action
FileExtension.createCompressAction
(String renameTo, String compressedName, boolean deleteSource, int compressionLevel) RolloverDescription.getAsynchronous()
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.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()
RolloverDescription.getSynchronous()
Action to be completed after close of current active log file before returning control to caller.RolloverDescriptionImpl.getSynchronous()
Action to be completed after close of current active log file before returning control to caller.protected Action
Modifier and TypeMethodDescriptionDefaultRolloverStrategy.getCustomActions()
DirectWriteRolloverStrategy.getCustomActions()
Modifier and TypeMethodDescriptionstatic 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 preferablestatic DirectWriteRolloverStrategy
DirectWriteRolloverStrategy.createStrategy
(String maxFiles, String compressionLevelStr, Action[] customActions, boolean stopCustomActionsOnError, Configuration config) Deprecated.Since 2.9 Usage of Builder API is preferableprotected Action
DefaultRolloverStrategy.Builder.withCustomActions
(Action[] customActions) Defines custom actions.DirectWriteRolloverStrategy.Builder.withCustomActions
(Action[] customActions) Defines custom actions.ModifierConstructorDescriptionprotected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
DefaultRolloverStrategy
(int minIndex, int maxIndex, boolean useMax, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError, String tempCompressedFilePatternString) Constructs a new instance.protected
DirectWriteRolloverStrategy
(int maxFiles, int compressionLevel, StrSubstitutor strSubstitutor, Action[] customActions, boolean stopCustomActionsOnError) Deprecated.Since 2.9 Added tempCompressedFilePatternString parameterprotected
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. -
Uses of Action in org.apache.logging.log4j.core.appender.rolling.action
Modifier and TypeClassDescriptionclass
Abstract base class for implementations of Action.class
Abstract action for processing files that are accepted by the specified PathFilters.final class
Compresses a file using bzip2 compression.class
A group of Actions to be executed in sequence.class
Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.class
File rename action.final class
Compresses a file using GZ compression.class
File POSIX attribute view action.final class
Compresses a file using Zip compression.ModifierConstructorDescriptionCompositeAction
(List<Action> actions, boolean stopOnError) Construct a new composite action.