Tomcat view catalina.out log file

In Red Hat,

cd /var/lib/tomcat
tail -f logs/catalina.out

I can see the log in the console.

In Ubuntu,

cd /var/lib/tomcat6
tail -f logs/catalina.out

Nothing show out in the console.

May I know what is the problem? Which configuration that I need to look to?


Tomcat 7 Ubuntu Server 12.04 LTS:

tail -f /var/log/tomcat7/catalina.out

locate catalina.out and find out where is your catalina out. Because it depends.

If there is several, look at their sizes: that with size 0 are not what you want.


 cd /usr/local/tomcat/logs
 tail -f catalina.out