[logback-user] MaxHistory not deleting old files

Jenny jenny_uy81 at yahoo.com
Thu Dec 10 19:31:10 CET 2009


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/20091210/7e0aa885/attachment.htm>


More information about the Logback-user mailing list