[logback-user] Logback for Jetty HTTP logs and Java application logs

Tigran Tsaturyan tigran.tsat at gmail.com
Tue Sep 16 02:59:23 CEST 2014


Is it possible to use one instance of logback for logging Jetty request logs
and Java logs? Jetty is embedded, so when I configure 2 instances, I got a
warning: ` Class path contains multiple SLF4J bindings`. 

 

For Java Logs, I get logger from Logger factory. In case of Jetty logs, I
configure RequestLogHandler . 

 

How to configure one instance? How can I separate HTTP request and Java
logs?

 

 

Many thanks for help.

 

Best Regards, Tigran.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140915/c91c883c/attachment.html>


More information about the Logback-user mailing list