Niklas Neesen created KARAF-7829:
------------------------------------

             Summary: SLF4J Warnings on Client-Connection
                 Key: KARAF-7829
                 URL: https://issues.apache.org/jira/browse/KARAF-7829
             Project: Karaf
          Issue Type: Bug
          Components: karaf
    Affects Versions: 4.4.6
            Reporter: Niklas Neesen


I have encountered several SLF4J warnings when connecting using the 
./bin/client command in Apache Karaf version 4.4.6. The following warnings are 
displayed at the beginning of the connection:
{code:java}
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:/Users/niklas/Downloads/apache-karaf-4.4.6/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.{code}

*Steps to Reproduce:*
 # Download and extract Apache Karaf version 4.4.6.
 # Navigate to the extracted directory.
 # Start Karaf using the command ./bin/start.
 # Use the command ./bin/client to connect.

 

*Expected Behavior:*
No SLF4J warnings should be displayed during the connection process.

 

*Actual Behavior:*
Multiple SLF4J warnings are displayed, indicating issues with SLF4J provider 
bindings and defaulting to a no-operation logger implementation.

 

*Environment:*
 * Apache Karaf version: 4.4.6
 * Java version: OpenJDK 11.0.22

Please investigate this issue and provide guidance on how to resolve the SLF4J 
warnings.

Thank you.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to