[logback-user] MaxHistory not deleting old files

Jenny jenny_uy81 at yahoo.com
Thu Jan 7 02:59:51 CET 2010

hi group, I just did some tests and when MaxHistory is more than 30 days, log rotation in not working, If its less than that, logs are rotated properly.

Could this be a bug? I only tried in logback-0.9.13

From: Jenny <jenny_uy81 at yahoo.com>
To: logback users list <logback-user at qos.ch>
Sent: Tue, January 5, 2010 4:18:34 PM
Subject: Re: [logback-user] MaxHistory not deleting old files

hi group, I tried this on our non-prod environment with smaller Max history of 5 and the old files were deleted. I'm just wondering if this is because the max history number before is too big?

From: Jenny <jenny_uy81 at yahoo.com>
To: logback-user at qos.ch
Sent: Thu, December 10, 2009 10:31:10 AM
Subject: [logback-user] MaxHistory not deleting old files


I have a TimeBasedRollingPolicy maxhistory of 90 days. Although my logs are rolling daily, the old files beyond my max history are not deleted. Max history is not working.

version I'm using

thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100106/1358591d/attachment-0001.html>

More information about the Logback-user mailing list