[logback-user] Why is Logback being configured twice?

Ceki Gülcü ceki at qos.ch
Thu Aug 4 22:29:07 CEST 2011

Hello Daniel,

Could you please post the contents of your logback.xml file ad well as 
the output generated by logback on the console?


On 01/08/2011 10:38 PM, Daniel Serodio (lists) wrote:
> I'm trying to switch an application from from log4j to Logback. This app
> uses SLF4J, Spring Framework and is deployed in Tomcat 7.
> Spring Framework uses JCL, so I added the following JARs to the
> application's classpath:
> slf4j-1.6.1.jar
> jcl-over-slf4j-1.6.1.jar
> logback-classic-0.9.29.jar
> logback-core-0.9.29.jar
> I created a logback.xml file, with debug="true" so I could debug my
> configuration.
> When I deploy this webapp in Tomcat, I can see that Logback is being
> configured twice. Why would this happen?
> Thanks in advance,
> Daniel Serodio

QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, 
is looking to hire talented software developers. For further details, 
see http://logback.qos.ch/job.html

More information about the Logback-user mailing list