openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
914 stars 422 forks source link

SLF4J(W) console output when logging into Karaf console #4283

Open florian-h05 opened 3 months ago

florian-h05 commented 3 months ago

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?

holgerfriedrich commented 3 months ago

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.

openhab-bot commented 2 months ago

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