Proper legacy bridging and initialization, by example

Hello I just want to make sure I am understanding your user manual (specifically 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 - requires I call two SLF4JBridgeHandler methods ( removeHandlersForRootLogger() and install()) at app startup in order to work Am I understanding this correctly? Thanks in advance!

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!
participants (2)
-
Ceki Gülcü
-
Zac Harvey