>I don't really know much about log4j, so I can't comment on >that particular methodology, but I'd been looking at >implementing a logrotate for tomcat on my systems. I was >thinking something like this for tomcat 3.3 (haven't looked at >4.x yet): > >/var/log/tomcat3/jasper-*.log /var/log/tomcat3/servlet-*.log >/var/log/tomcat3/tomcat.log { > weekly > notifempty > missingok > postrotate > kill -HUP $(cat /var/log/tomcat3/tomcat.pid) > endscript >} > >Of course that's 3.3 specific and not even current 3.3 (3.3a >instead of 3.3.1). Would this be what you're looking for (and >would it even work :-)?
logrotate won't works since tomcat need to detach from file, close it and create a new one just after. A good choice would be to use log4j for all log purposes.. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>