Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-897

Gradle's SLF4J bindings are visible to webapp run with the Jetty plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 0.9
    • Fix Version/s: None

      Description

      Using jettyRun with a webapp that contains SLF4J bindings causes warnings to be printed since Gradle's bindings are also visible to the webapp:

      :jettyRunSLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/opt/local/share/java/gradle/lib/logback-classic-0.9.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/Users/jeppe/.gradle/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

      This may cause unpredictable logging since it is not clear which logging backend is being used....

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nejsum Jeppe Nejsum Madsen
            Votes:
            21 Vote for this issue
            Watchers:
            20 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: