logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jathy <xuehai....@yahoo.com>
Subject How to config log4cxx to delete the log files periodically
Date Fri, 12 Sep 2008 03:34:13 GMT

Hi All,

In my project, I need produce one log file per day and delete the log files
periodically so that at most 31 files are stored. I used
DailyRollingFileAppender, it helped me to reach my first goal easily. But
how to config it to delete the log files automatically? Thanks.

View this message in context: http://www.nabble.com/How-to-config-log4cxx-to-delete-the-log-files-periodically-tp19448819p19448819.html
Sent from the Log4cxx - Users mailing list archive at Nabble.com.

View raw message