I am wondering if this is pretty much what other
people do and if there is a better way of doing it.
i just found that apache can rotate its logs with its
bin/rotatelogs where you can specify the rotation
interval.
does tomcat have a similar functionality? i searched for "rotate" in Tomcat's source and found the AccessLogValve class which could be i want, but i need help figuring it out.
in fact Tomcat knows nothing about how its logs are managed... it just outputs logs which are treated by log4j using the common logging API so you can use the log4j feature for having your log files rotating.. Use a RollingFileAppender in the log4j properties file...
HTH Jerome
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
