I noticed that my catalina.out in /var/log/tomcat is this big... why? How do I avoid this?

link|improve this question

0% accept rate
Disable logging, maybe? Look what's in it – is it necessary? – slhck Nov 3 '11 at 16:12
Yes it is! Is there a way to have it cut the file like log4j does? – user19203 Nov 3 '11 at 16:24
feedback

1 Answer

Check out the Apache Tomcat Logging FAQ, which points to a thread on how to rotate catalina.out:

On Unix I simply pipe the catalina.sh command to /usr/bin/cronolog and it rotates the log for me. See www.cronolog.org for more info...

And as @slhck points out, there are some other good instructions on catalina.out rotation.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.