You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Carter Kozak <ck...@apache.org> on 2018/08/28 14:02:58 UTC
[log4j][LOG4J2-2423] Rolling and Retention
This morning I realized that my understanding of how our rolling
appenders handle retention was flawed. When the file pattern includes
a date, the limit is applied per day (or the smallest interval present
in the date), not total rolled files over time.
Is this behavior expected? Is there a better way to cap overall
retention for a given file appender?
I've filed a ticket with a bit more data:
https://issues.apache.org/jira/browse/LOG4J2-2423
Thanks,
-ck