[logback-user] MaxHistory not deleting old files
Jenny
jenny_uy81 at yahoo.com
Wed Jan 6 01:18:34 CET 2010
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
Hello,
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.
<fileNamePattern>MyLog-%d{yyyy-MM-dd}.log</fileNamePattern>
<MaxHistory>90</MaxHistory>
version I'm using
logback-0.9.13
sl4j-api-1.5.6
thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100105/e8ad1d2a/attachment.html>
More information about the Logback-user
mailing list