wiki:Tomcat HowTo Get More Information from Logging

Version 1 (modified by Richard Bramley, 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

  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

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

Note: See TracWiki for help on using the wiki.