Is there a "right" way to redirect all logging
to slf4j in tomcat 6?

My current approach is to patch catalina.bat
http://old.nabble.com/Using-logback-in-tomcat-td8074672.html

to add some jars/files to the system classloader:

jul-to-slf4j-1.6.0.jar
slf4j-api-1.6.0.jar
logback-core-0.9.21.jar
logback-classic-0.9.21.jar
logback.xml

and to change the conf/logging.properties to:

handlers = org.slf4j.bridge.SLF4JBridgeHandler
org.slf4j.bridge.SLF4JBridgeHandler.level = FINEST


Some other ideas or suggestions?


Regards,

Kai Gülzau
_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user

Reply via email to