Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
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

1 Answer 1

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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