[Yanel-dev] Using log4j for Tomcat itself

Michael Wechner michael.wechner at wyona.com
Mon Nov 26 10:43:11 CET 2012


Hi

I recently had this infamous error

SEVERE: Error listenerStart

which meant that the Yanel webapp did not startup at all, but it also 
wasn't clear why.

Replacing the default logging by log4j revealed the actual errors.

For more details on how to do use log4j for Tomcat itself please see

http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j

(which was referenced by 
http://java.dzone.com/articles/tomcat-6-infamous-%E2%80%9Csevere)

Also see

http://tomcat.apache.org/tomcat-7.0-doc/extras.html#Downloading
http://mirror.switch.ch/mirror/apache/dist/tomcat/tomcat-7/v7.0.33/bin/extras/

HTH

Michael


More information about the Yanel-development mailing list