I am trying to configure logrotate in RHEL for tomcat6 logs. Currently, logrotate works fine for catalina.out log, it is rotated and compressed properly.
The problem
Also, you can add crons instead hardcode logrotate.
1 0 * * * /usr/bin/find /var/log/tomcat/ -mtime +30 -delete 2 0 * * * /usr/bin/find /var/log/tomcat/ -mtime +1 -exec gzip -q {} \;
In this way, you will delete the logs older than 30 days, and zip the logs older than 1.