Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7829

SLF4J Warnings on Client-Connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 4.4.6
    • 4.4.7
    • karaf
    • None

    Description

      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:

      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.

      Steps to Reproduce:

      1. Download and extract Apache Karaf version 4.4.6.
      2. Navigate to the extracted directory.
      3. Start Karaf using the command ./bin/start.
      4. 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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            creak Niklas Neesen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: