Rotating Tomcat’s Default catalina.out

I was looking for log rotation options for Tomcat’s default catalina.out (JULI package), and came across these two solutions:

  1. Piping the log to a log rotation utility: I tried this and it worked like a charm.
  2. Configuring logrotate to rotate the file: I have not tried this yet, but it sounds like a more generic way of rotating this log file.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: