Version 2 (modified by 8 years ago) ( diff ) | ,
---|
Tomcat HowTo Get More Information from Logging
Tags: HowTo
/Originally from http://blog.trifork.com/2011/03/18/debugging-the-dreaded-severe-error-listenerstart-and-severe-error-filterstart-tomcat-error-messages/, which refers to getting more information about listener start errors, but I think it should apply to all error logging.
Process
- Create a file
logging.properties
in theWEB-INF/classes
directory in Tomcat. - In the file paste the following text:
org.apache.catalina.core.ContainerBase.[Catalina].level = INFO org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler
- Restart Tomcat
Note:
See TracWiki
for help on using the wiki.