logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Widdis <wid...@gmail.com>
Subject Re: rolling daily logger
Date Fri, 06 Mar 2015 16:55:24 GMT
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message