Re: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread Curt Arnold
On Mar 1, 2007, at 10:04 AM, James Stauffer wrote: In 1.2 no, but I think that is supported in 1.3. In 1.2 you could set up a cron job to delete the extra files. If has been a frequently requested feature, but definitely non- obvious to implement on top of the existing org.apache.log4j.DRFA

AW: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread Wyss Patrick
n: DM [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 1. März 2007 17:23 > An: Log4J Users List > Betreff: Re: maxBackupIndex with DailyRollingFileAppender > > > Thanks for the response. I guess I'll have to wait for 1.3 > then. The following page on the wiki: > ht

Re: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread James Stauffer
1.2 generally only gets bug fixes so it is highly unlikely that it would get that feature added. On 3/1/07, DM <[EMAIL PROTECTED]> wrote: Thanks for the response. I guess I'll have to wait for 1.3 then. The following page on the wiki: http://wiki.apache.org/logging-log4j/DailyRollingFileAppende

Re: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread DM
uded in an official release? - Original Message From: James Stauffer <[EMAIL PROTECTED]> To: Log4J Users List Sent: Thursday, 1 March, 2007 11:04:10 AM Subject: Re: maxBackupIndex with DailyRollingFileAppender In 1.2 no, but I think that is supported in 1.3. In 1.2 you could s

Re: maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread James Stauffer
In 1.2 no, but I think that is supported in 1.3. In 1.2 you could set 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 Roll

maxBackupIndex with DailyRollingFileAppender

2007-03-01 Thread DM
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 property, but it seems this is not supported by DailyRollingFileAppender. I don't want to use RollingFileAppende

using MaxBackupIndex with DailyRollingFileAppender

2004-10-25 Thread Pramodh Peddi
Hi, Is it possible to use maxBackupIndex with DailyRollingFileAppender? I want to rename the daily backed up files using timestamp…but, back up ONLY last particular number of files – say, 10 files max, like what RollingFileAppender lets us do.   I figure from the API that I cannot do it