Class AbstractRolloverStrategy
java.lang.Object
org.apache.logging.log4j.core.appender.rolling.AbstractRolloverStrategy
- All Implemented Interfaces:
RolloverStrategy
- Direct Known Subclasses:
DefaultRolloverStrategy
,DirectWriteRolloverStrategy
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Logger
Allow subclasses access to the status logger without creating another instance.static final Pattern
protected final StrSubstitutor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEligibleFiles
(String path, String pattern) getEligibleFiles
(String path, String logfilePattern, boolean isAscending) Deprecated.getEligibleFiles
(String currentFile, String path, String logfilePattern, boolean isAscending) getEligibleFiles
(RollingFileManager manager) getEligibleFiles
(RollingFileManager manager, boolean isAscending) protected Action
protected int
suffixLength
(String lowFilename) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.appender.rolling.RolloverStrategy
rollover
-
Field Details
-
LOGGER
Allow subclasses access to the status logger without creating another instance. -
PATTERN_COUNTER
-
strSubstitutor
-
-
Constructor Details
-
AbstractRolloverStrategy
-
-
Method Details