
6 Jan
2010
6 Jan
'10
12:18 a.m.
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@yahoo.com> To: logback-user@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