apache / camel-karaf

Apache Camel Karaf support
https://camel.apache.org
Apache License 2.0
27 stars 61 forks source link

Cleanup slf4j providers in the itest #441

Open jbonofre opened 1 month ago

jbonofre commented 1 month ago

The itests don't log correctly due to:

[INFO] [INFO] Running org.apache.karaf.camel.itest.CamelEhcacheITest
[ERROR] SLF4J(W): Class path contains multiple SLF4J providers.
[ERROR] SLF4J(W): Found provider [org.ops4j.pax.logging.slf4j.PaxLoggingSLF4JServiceProvider@59e5ddf]
[ERROR] SLF4J(W): Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@536aaa8d]
[ERROR] SLF4J(W): See https://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[ERROR] SLF4J(I): Actual provider is of type [org.ops4j.pax.logging.slf4j.PaxLoggingSLF4JServiceProvider@59e5ddf]

We should have a clean provider here. I gonna fix that.