[
https://issues.apache.org/jira/browse/LOG4J2-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767146#comment-17767146
]
Leo Breuss commented on LOG4J2-3670:
------------------------------------
[~pkarwasz] , thank you very much for the hint. Now it works as expected. Case
closed.
(I didn't expect log4j2 accepting my "broken" config.)
> Rollover max parameter in log4j2.yml is "ignored"
> -------------------------------------------------
>
> Key: LOG4J2-3670
> URL: https://issues.apache.org/jira/browse/LOG4J2-3670
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.17.2, 2.20.0
> Reporter: Leo Breuss
> Priority: Major
> Labels: Rollover, max
> Attachments: console.log, log4j2-rollover.zip
>
>
> The rolling file appender only keeps 7 files, regardless of what I configure
> the max value to in its DefaultRolloverStrategy.
>
> spring-boot 2.7.15 (snakeyaml 1.33, jackson-databind 2.15.2, Java 17)
> Reproduced with log4j2 version 2.17.2 and 2.20.0
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)