You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2020/03/06 11:19:00 UTC

[jira] [Created] (FLINK-16461) Multiple Bindings with SLF4J

Nico Kruber created FLINK-16461:
-----------------------------------

             Summary: Multiple Bindings with SLF4J
                 Key: FLINK-16461
                 URL: https://issues.apache.org/jira/browse/FLINK-16461
             Project: Flink
          Issue Type: Bug
          Components: Benchmarks
    Affects Versions: 1.11.0
            Reporter: Nico Kruber


Running benchmarks currently produces this warning:

{code}
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/nico/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.12.1/log4j-slf4j-impl-2.12.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/nico/.m2/repository/org/slf4j/slf4j-log4j12/1.7.7/slf4j-log4j12-1.7.7.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.apache.logging.slf4j.Log4jLoggerFactory]
{code}

The reason for this is this from the dependency tree:
{code}
org.apache.flink.benchmark:flink-hackathon-benchmarks:jar:0.1
+- org.apache.flink:flink-test-utils-junit:jar:1.11-SNAPSHOT:compile
|  +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.12.1:compile
+- org.slf4j:slf4j-log4j12:jar:1.7.7:compile
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)