Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is difference between localhost.log and catalina.log in tomcat? [closed]

Tags:

Can you please tell me why there are two log files created on tomcat server?

These two log files are localhost.log and catalina.log.

Thanks!

like image 289
B Chawla Avatar asked Oct 13 '12 02:10

B Chawla


1 Answers

catalina.log is where the Tomcat engine writes log messages pertaining to Tomcat itself.

There's a log for each virtual host. You only have one configured, called localhost so that's where the log entries from that host go.

like image 91
Jim Garrison Avatar answered Sep 23 '22 16:09

Jim Garrison