Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2531

Using mixed versions of slf4j causes SLF4J to print to console a WARN about this

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.0.0.Beta1
    • 2.20.1.Final
    • None
    • None

    Description

      You can reproduce by installing the fabric8 devops addon

      addon-install --coordinate io.fabric8.forge:devops,2.2.63
      ***SUCCESS*** Addon io.fabric8.forge:devops,2.2.63 was installed successfully.
      [forge-distribution-2.20.1.Final]$ deSLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-maven-2-20-1-Final/slf4j-jdk14-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/opt/forge-distribution-2.20.1.Final/addons/org-jboss-forge-addon-database-tools-2-20-1-Final/slf4j-jdk14-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory]
      

      And then wait some seconds then you see all the slf4j logging. As you can see those 2 addons from forge itself are using mixed slf4j versions.

      1.7.5 and 1.5.8

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: