Hi Burton, Thanks for the quick response!!
I use dthe TimeBasedRollingPolicy, but this only handles the when to roll. How can I specify that I only want 3 days worth?? Do I add <param name="MaxBackupIndex" value="3"/>?? Should I add this param to the TimeBasedRollingPolicy?? Thanks Again, Kenny -----Original Message----- From: Burton Strauss [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 12:59 PM To: 'Log4J Users List' Subject: RE: File Size and Retention Check out the RollingFileAppender. -----Burton -----Original Message----- From: Sanchez, Kenny J [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 11:17 AM To: '[email protected]' Subject: File Size and Retention Importance: High Hello!! How can I do the following: I would like to create a log file and would like to SET THE FILE SIZE and RETENTION period. I would like to set the file size to 500KB and only save a weeks worth of that file. Can someone point me in the right direction/send me an example??? Thanks, Kenny --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
