[ https://issues.apache.org/jira/browse/SLING-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Sedding reopened SLING-7660: ----------------------------------- > LogManager configuration "Number of Log Files" limited to 20 > ------------------------------------------------------------ > > Key: SLING-7660 > URL: https://issues.apache.org/jira/browse/SLING-7660 > Project: Sling > Issue Type: Improvement > Components: Commons > Affects Versions: Commons Log 5.1.6 > Reporter: Julian Sedding > Assignee: Julian Sedding > Priority: Minor > Fix For: Commons Log 5.1.8 > > > The "Number of Log Files" configuration property for size-based log rotation > is capped at 20 (or 21 including the current log file. This limitation comes > from [logback's > {{FixedWindowRollingPolicy}}|https://github.com/qos-ch/logback/blob/39c7ab9510c4f48ef3fcbef248aac380d3b58235/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java#L47], > but can be overridden in a subclass. I propose to override the > {{FixedWindowRollingPolicy#getMaxWindowSize}} to return {{Integer.MAX_VALUE}}. > cc [~chetanm] -- This message was sent by Atlassian JIRA (v7.6.3#76005)