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

SLF4J Duplicate bindings warning when using Equinox

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.1.0
    • 2.1.1, 2.2.0
    • None
    • None

    Description

      When starting Karaf with Equinox as the OSGi Framework, you get his SLF4J warning:

      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/Users/gert/opt/apache-karaf-2.0.0-fuse-SNAPSHOT/lib/karaf-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [bundleresource://3.fwk545215872/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      We should make sure that the class inside the client jar is no longer visible to the Pax Logging bundle to fix this.

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: