Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
Commons Log 5.1.6
-
None
-
None
Description
As discussed in SLING-7660 and LOGBACK-266, the currently used FixedWindowRollingPolicy can be expensive when a lot of old files should be retained. This is because all files need to be renamed during log-file rotation, which can be expensive on some file systems.
The recommendation is to use SizeAndTimeBasedRollingPolicy instead, which allows limiting the size of individual log files by adding a date field and a counter to each log-file's name.
Attachments
Issue Links
- relates to
-
SLING-7660 LogManager configuration "Number of Log Files" limited to 20
- Resolved