Re: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread DM
et up a cron job to delete the extra files. On 3/1/07, DM <[EMAIL PROTECTED]> wrote: > Hi, > > When using a DailyRollingFileAppender, is there any way to specify the > maximum number of files which should be kept? I know that the > RollingFileAppender supports a maxBackupIndex

maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread DM
o use RollingFileAppender because I want the files to rollover every day, rather than when they reach a certain size. So my requirements are: - Roll files over daily - Only keep the last 5 log files Thanks in Advance, DM ___ Now you can