About Me

Mein Bild
Freelancing software developer / architect, mobile geek. Topics: Software technologies (java, groovy, agile), politics, web, science, green, mobile, android.
Homepage: www.tutaona.com

"The absence of limitations is the enemy of art." - Orson Welles

Donnerstag, 12. Juli 2012

Tomcat Debug Logging

If ever encountered the problem, that you webapp was not coming up and all you see is

SEVERE: Error listenerStart

in the catalina.out. To shed some light on what is going on you can turn the logging on by dropping a logging.properties file into the WEB-INF/classes dir of your webapp and put these two lines inside:

org.apache.catalina.core.ContainerBase.[Catalina].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].handlers = java.util.logging.ConsoleHandler

Keine Kommentare:

Kommentar veröffentlichen