Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 am not able to locate the tomcat log files on ubuntu. I looked into /var/log/tomcat6 but the output are these file,

catalina.2012-11-23.log  catalina.out       localhost.2012-11-23.log
catalina.2012-11-24.log  catalina.out.1.gz  localhost.2012-11-24.log

Any idea which is the correct one?

share|improve this question
just try it to find using find command. here how to use: sudo find / -type f | grep tomcat| grep log Reply what happens.. – Saurav Kumar Sep 9 '13 at 11:38
Catalina.out is typically where it will write application startup/shutdown/error output but you'll need to check the tomcat6/conf directory for the various .conf files. This is where the log file paths are defined. – sean_m Sep 2 '14 at 5:56

I usually find any files using file command and filter the results using grep. It helps on many situation. For your case it is possible that your tomcat6 log file would be located in some other place.

So you can use following command to locate it, you would get few results then it would be easier to look the actual path:

sudo find / -type f | grep tomcat| grep log

For example if I want to find all the log files of apache2 then I have to execute this (I don't have tomcat installed, so giving apache2 example):

sudo find / -type f | grep apache2 | grep log

I got this:


Now it is easier to locate all log of apache2 like error , access etc.. You can use more filter to cascade some more results..

Hope you would be able to locate your tomcat6 log file..

share|improve this answer

Catalina.out is the file you are looking for. In order to view log on terminal , you can use
tail -f /var/log/tomcat6/catalina.out

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.