[logback-user] Proper legacy bridging and initialization, by example

Ceki Gülcü ceki at qos.ch
Thu Jul 28 20:32:41 CEST 2022


Yes, that sounds about right.

-- 
Ceki

On 7/27/2022 9:09 PM, Zac Harvey wrote:
> Hello I just want to make sure I am understanding your user manual
> (specifically https://www.slf4j.org/legacy.html
> <https://www.slf4j.org/legacy.html>) correctly:
> 
> Sounds like if I put the following JARs on my runtime classpath I can
> pump logs made from other logging systems and send them to the same
> SLF4J appenders my app is using:
> 
>   * jcl-over-slf4j.jar --> JCL
>   * log4j-over-slf4j.jar --> Log4J
>   * jul-to-slf4j.jar --> JUL
>       o requires I call two SLF4JBridgeHandler methods
>         (removeHandlersForRootLogger() and install()) at app startup in
>         order to work
> 
> Am I understanding this correctly? Thanks in advance!
> 


More information about the logback-user mailing list