Just wanted to mention that this does not stop an application which specifies something like this in their log4j.properties file: log4j.rootLogger=DEBUG,stdout,logfile Those still get dumped to stdout and placed in catalina.out. Just something to watch for...
–
Corey S.Nov 29 '10 at 22:21

It uses a cronjob (logrotate) to copy, compress and clean your catalina.out and if you have a look at logrotate you will see it has a lot of additional functionality. It does not interfere with the daily logs, unless you configure it do so. I found it helpful when I was confronted with the same problem.

BTW removing the console handler will only affect messages produced by Tomcat.

When i execute /usr/sbin/logrotate /etc/logrotate.conf after configuring /var/log/tomcat/catalina.out still it does not solve my problem of rotating the catalina.out file
–
Bhavik AmbaniFeb 7 '12 at 6:47

Another thing is this will rotate daily. What if I want to rotate as and when the size of the log file reaches to the maximum allocated size ?
–
Bhavik AmbaniFeb 7 '12 at 7:34