Package org.apache.logging.log4j.core.appender.rolling.action
@Export
@Version("2.20.2")
package org.apache.logging.log4j.core.appender.rolling.action
Support classes for the Rolling File Appender.
-
ClassDescriptionAbstract base class for implementations of Action.Abstract action for processing files that are accepted by the specified PathFilters.The Action interface should be implemented by any class that performs file system actions for RollingFileAppenders after the close of the active log file.Compresses a file using bzip2 compression.A group of Actions to be executed in sequence.Rollover or scheduled action for deleting old log files that are accepted by the specified PathFilters.FileVisitor that deletes files that are accepted by all PathFilters.Simplified implementation of the ISO-8601 Durations standard.File rename action.Compresses a file using GZ compression.PathCondition that accepts paths after some count threshold is exceeded during the file tree walk.PathCondition that accepts paths after the accumulated file size threshold is exceeded during the file tree walk.Composite
PathCondition
that only accepts objects that are accepted by all component conditions.CompositePathCondition
that accepts objects that are accepted by any component conditions.PathCondition that accepts files for deletion if their relative path matches either a glob pattern or a regular expression.PathCondition that accepts paths that are older than the specified duration.WrapperPathCondition
that accepts objects that are rejected by the wrapped component filter.Filter that accepts or rejects a candidatePath
for deletion.PathSorter
that sorts path by their LastModified attribute.Defines the interface of classes that can sort Paths.Tuple of aPath
andBasicFileAttributes
, used for sorting.File POSIX attribute view action.Builder for the POSIX view attribute action.A condition of theDeleteAction
where a user-provided script selects the files to delete from a provided list.FileVisitor that sorts files.Compresses a file using Zip compression.