wiki:Tomcat HowTo Get More Information from Logging

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

  1. Create a file logging.properties in the WEB-INF/classes directory in Tomcat.
  2. 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
  1. Restart Tomcat

Error: Macro BackLinks(None) failed
'Environment' object has no attribute 'get_db_cnx'

Last modified 8 years ago Last modified on 06/17/16 09:05:53
Note: See TracWiki for help on using the wiki.