openhab/openhab-core

SLF4J(W) console output when logging into Karaf console

florian-h05 opened this issue · 2 comments

When logging into the Karaf console, I now get this printed to the terminal:

SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J(W): Ignoring binding found at [jar:file:/usr/share/openhab/runtime/system/org/apache/karaf/org.apache.karaf.client/4.4.6/org.apache.karaf.client-4.4.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.

I am not sure since when this happens, but I think it didn‘t before the Karaf 4.4.6 upgrade.

@holgerfriedrich @wborn May I ask your your help?

This is a known issue of Karaf 4.4.6.
https://issues.apache.org/jira/browse/KARAF-7829

According to this post, I hoped that 4.4.7 would be released earlier - but it is not available yet.
We have this issue and a dependency upgrade (bouncy castle) which hopefully gets resolved in 4.4.7.

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-2-release-discussion/157076/50