Package org.apache.logging.log4j.core.appender.rolling.action
Support classes for the Rolling File Appender.
-
Interface Summary Interface Description Action The Action interface should be implemented by any class that performs file system actions for RollingFileAppenders after the close of the active log file.PathCondition Filter that accepts or rejects a candidatePath
for deletion.PathSorter Defines the interface of classes that can sort Paths. -
Class Summary Class Description AbstractAction Abstract base class for implementations of Action.AbstractPathAction Abstract action for processing files that are accepted by the specified PathFilters.CommonsCompressAction Compresses a file using bzip2 compression.CompositeAction A group of Actions to be executed in sequence.DeleteAction Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.DeletingVisitor FileVisitor that deletes files that are accepted by all PathFilters.Duration Simplified implementation of the ISO-8601 Durations standard.FileRenameAction File rename action.GzCompressAction Compresses a file using GZ compression.IfAccumulatedFileCount PathCondition that accepts paths after some count threshold is exceeded during the file tree walk.IfAccumulatedFileSize PathCondition that accepts paths after the accumulated file size threshold is exceeded during the file tree walk.IfAll CompositePathCondition
that only accepts objects that are accepted by all component conditions.IfAny CompositePathCondition
that accepts objects that are accepted by any component conditions.IfFileName PathCondition that accepts files for deletion if their relative path matches either a glob pattern or a regular expression.IfLastModified PathCondition that accepts paths that are older than the specified duration.IfNot WrapperPathCondition
that accepts objects that are rejected by the wrapped component filter.PathSortByModificationTime PathSorter
that sorts path by their LastModified attribute.PathWithAttributes Tuple of aPath
andBasicFileAttributes
, used for sorting.PosixViewAttributeAction File posix attribute view action.PosixViewAttributeAction.Builder Builder for the posix view attribute action.ScriptCondition A condition of theDeleteAction
where a user-provided script selects the files to delete from a provided list.SortingVisitor FileVisitor that sorts files.ZipCompressAction Compresses a file using Zip compression.