from the DOCUMENTATION of RollingFileAppender: "public void setMaxBackupIndex(int maxBackups)
Set the maximum number of backup files to keep around. The MaxBackupIndex option determines how many backup files are kept before the oldest is erased. This option takes a positive integer value. If set to zero, then there will be no backup files and the log file will be truncated when it reaches MaxFileSize." RTFM! > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Gesendet: Dienstag, 23. Juli 2002 16:11 > An: [EMAIL PROTECTED] > Betreff: Limit for files created > > > Hi all: > > Can you limit the amount of files created by > DailyRollingFileAppender? I > have it set up to create a new one each day but I don't want > it to exceed > 10 files. I know that the J2SE 1.4 logging package allows this - does > log4j offer this ability as well? > > Thanks > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>