logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: rolling daily logger
Date Fri, 06 Mar 2015 17:06:43 GMT
Yeah, patches welcome! :-)

Gary

On Fri, Mar 6, 2015 at 8:55 AM, Daniel Widdis <widdis@gmail.com> wrote:

> 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
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message