Replacing Tomcat7 Logging with Logback?

Hi All, Is there a good tutorial or documentation on replacing Tomcat's default logging with logback? So far my searches turn up http://logback.qos.ch/access.html which only seems to work with access logs, not the actual server logging itself. Thanks, James

I'm not sure if it is officially supported, but someone has made the necessary jars to integrate SLF4J and Logback for Tomcat 7. https://github.com/grgrzybek/tomcat-slf4j-logback I have used it and it works great. -Matt- On 7/5/12 10:42 AM, "James Carr" <james.r.carr@gmail.com> wrote:
Hi All,
Is there a good tutorial or documentation on replacing Tomcat's default logging with logback? So far my searches turn up http://logback.qos.ch/access.html which only seems to work with access logs, not the actual server logging itself.
Thanks, James _______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

Can u please explain with what is wrong with tomcat juli logging and why you are switching?

Juli logging is still in use at the container level (Tomcat) but the SLF4J Logback loggers are in use in the webapps themselves to allow us to use the asynchronous appender which does not block the application to write logs. There are multiple other features that we may use in the future including JSON output for for Logstash senders that the Juli logging libraries do not have. Thanks. On 9/17/13 7:04 AM, Adhipadi wrote:
Can u please explain with what is wrong with tomcat juli logging and why you are switching?
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
-- James E. Scollard III Senior Cloud Systems Architect c: 615.730.4387 www.weather.com View my profile on LinkedIn
participants (4)
-
Adhipadi
-
James Carr
-
James Scollard
-
Matthew Bertolini