[logback-user] Jetty conflict

Thorbjoern Ravn Andersen ravn at runjva.com
Thu Feb 4 19:29:08 CET 2010


Ceki Gülcü skrev:
>
> Assuming jetty uses child-first a.k.a. local-first class loading 
> order, I would recommend to bundle slf4j and logback jar in your war 
> file.
>
> Jetty used to have the opposite class loading order, i.e. 
> parent-first, but I am  under the impression that it changed to 
> local-first class loading in recent versions.
>
Default is servlet specification behaviour, but it is very easy to alter 
to parent-first.

We use that to allow all web applications in the container to see the 
global slf4j and logback instances, as we want them to go together (for 
now).

-- 
  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"



More information about the Logback-user mailing list