[logback-dev] Multiple Binding

Durchholz, Joachim Joachim.Durchholz at hennig-fahrzeugteile.de
Thu Nov 14 13:02:24 CET 2013


> Is there any direct or indirect way of implementing both log4j and logback.

See http://www.slf4j.org/legacy.html#log4j-over-slf4j .

> We don't have control over the product's logging,

Well, you need to replace log4j.jar with log4j-over-slf4j.jar in the classpath, so you need to control its classpath.
If you don't, the situation is much more complicated than usual and we'd need to know what aspects of the situation you control.

> Is there any alternative approach available to
> support multiple bindings in Slf4j. 

slf4j supports that out of the box.


More information about the logback-dev mailing list