Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
Both can be done by simple exercises in shell scripting. -Tim Julie christiana wrote: Hi, We have tomcat 4.1.24 installed. Thanks to tomcat documentation and email archives, we understood that tomcat logs will be rotated every day. Would like to know if there we can configure the following

Re: [NewBie]Tomcat logs

2003-10-10 Thread Julie christiana
Is it possible to do this configuration in webserver itself ... I mean in server.xml ? Thanks for the help, Julie Christiana Tim Funk [EMAIL PROTECTED] wrote: Both can be done by simple exercises in shell scripting. -Tim Julie christiana wrote: Hi, We have tomcat 4.1.24 installed. Thanks

Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
The AccessLogValve does not have the ability to perform the deletion of old files. You can have multiple AccessLogValves at the same time. For example: one writing to a single non-rotating log file and the other rotating nightly. -Tim Julie christiana wrote: Is it possible to do this

Re: [NewBie]Tomcat logs

2003-10-10 Thread Julie christiana
Sorry to bother you all with so many questions, but could you please send me a sample server.xml which achieves the same. Any documentation for the same would also be useful. Thanks, Julie Chritiana Tim Funk [EMAIL PROTECTED] wrote: The AccessLogValve does not have the ability to perform the

Re: [NewBie]Tomcat logs

2003-10-10 Thread Tim Funk
See the javadocs for AccessLogValve (prefereably your local version since the site is a version out of date. Any setXXX(stuff) method can be set declared in the AccessLogValve decalration. For example, there is a property called rotatable as indicated by setRotatable(boolean). This can be set

[NewBie]Tomcat logs

2003-10-09 Thread Julie christiana
Hi, We have tomcat 4.1.24 installed. Thanks to tomcat documentation and email archives, we understood that tomcat logs will be rotated every day. Would like to know if there we can configure the following for tomcat logs : 1) Keep a maximum of log files in tomcat/logs directory for