This is not yet a feature of Log4J2. There are a few JIRA tickets open
for this feature request that you may wish to track:
https://issues.apache.org/jira/browse/LOG4J2-524
https://issues.apache.org/jira/browse/LOG4J2-435
In the meantime, you can set up an external script to clean up old files
based on filename (datestamp) or last access date.
On 3/6/15 6:40 AM, Mark Lybarger wrote:
i'm using log4j2 for some of the filters (level and dynamic). I want my
logs to roll based on size (this makes it easy to open in vim), but also by
date (this helps organize them and I only need 1 week of logs).
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]