Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .