Is there some reason you cannot plug in log4j? 1. It's already written 2. It already works 3. It has log rotation (either size-based, or interval based) 4. It has customizable appenders to output the information you want, in the format you want ...
Tim -----Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 7:43 AM To: Tomcat Users List Subject: Re: Daily log rotation? I'm planning on trying, but considering how much trouble I have just getting my own apps to work properly, I don't know how much luck I'll have working with other people's code ;-) Parsons Technical Services wrote: > Write a patch and submit it. > > > > ----- Original Message ----- From: "David Kerber" > <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Wednesday, March 29, 2006 9:21 PM > Subject: Re: Daily log rotation? > > >> Boy, log rotation sure seems like it would be a reasonable function >> to have built into tomcat's native logging... >> >> >> Tim Lucia wrote: >> >>> Use Log4J, or another logger implementation of your choosing, with a >>> RollingDailyFileAppender (Log4J) or equivalent (your choosing) as >>> the target. >>> -----Original Message----- >>> From: Sheets, Jerald [mailto:[EMAIL PROTECTED] Sent: Wednesday, >>> March 29, 2006 5:04 PM >>> To: Tomcat Users List >>> Subject: Re: Daily log rotation? >>> >>> You could add the logs into logrotate. >>> >>> See the logrotate project for more information. >>> NOTE: This is for Linux/UNIX only. If on Windows, I do not know. >>> >>> >>> >>> Jerald Sheets >>> Systems Administrator >>> The Weather Channel Interactive >>> >>> >>> >>> >>> -------------------------------------------------------------------- >>> - 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]