-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
appenders:RollingAffects log file rolling functionalityAffects log file rolling functionalitybugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codedocumentationPull requests or issues that affect documentationPull requests or issues that affect documentation
Description
Description
In the second example of Delete on Rollover
, 100 archives will be retained on the same hour, not day. Cause the filePattern is "${baseDir}/$${date:yyyy-MM}/app-%d{yyyy-MM-dd-HH}-%i.log.gz"
, it will reset count to 0 at every hour.
The Original Text:
Below is a sample configuration that uses a RollingFileAppender with both the time and size based triggering policies, will create up to 100 archives on the same day (1-100) that are stored in a directory based on the current year and month
Should be corrected to: ... on the same day hour (1-100) ...
Metadata
Metadata
Assignees
Labels
appenders:RollingAffects log file rolling functionalityAffects log file rolling functionalitybugIncorrect, unexpected, or unintended behavior of existing codeIncorrect, unexpected, or unintended behavior of existing codedocumentationPull requests or issues that affect documentationPull requests or issues that affect documentation
Type
Projects
Status
To triage