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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With