[
https://issues.apache.org/jira/browse/SLING-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-7676.
-------------------------------------
Resolution: Won't Fix
> Refactor LogWriter to use SizeAndTimeBasedRollingPolicy
> -------------------------------------------------------
>
> Key: SLING-7676
> URL: https://issues.apache.org/jira/browse/SLING-7676
> Project: Sling
> Issue Type: Improvement
> Components: Commons
> Affects Versions: Commons Log 5.1.6
> Reporter: Julian Sedding
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)