How to enable trace/debug in tomcat and which log we need to analyze when there is any issue reported

The default log files and logging levels are defined in logging.properties file under the below location
/home/oracle/tomcat_09_Aug_2020/apache-tomcat-9.0.36/conf.

The list is arranged in order by level of detail from the least (SEVERE) to the greatest (FINEST).
Note that a level includes all the content of previous levels.
For example, INFO specifies that the log should include informational messages, potential problems (WARNING), and serious failures (SEVERE).

In Tomcat (Example: here the version is  9.0.36) Log files are written to the /logs directory under $CATALINA_BASE/logs

 

*catalina.log, a log with entries that describe server activity

*catalina.out, a log for system output and standard error messages

*localhost.log, a log file for tracking Web application activity

*localhost_access.log, a log for tracking requests processed by the server

*host_manager.log, a log for Tomcat’s host-manager.war Web application

*manager.log, a log for Tomcat’s manager.war Web application

 

Recent Posts