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
