Julian Sedding created SLING-7676:
-------------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to