Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-53

Multiple SLF4J Bindings with Plugins

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • 3.0.0-incubating
    • plugin
    • None

    Description

      If you :install a plugin it brings all dependencies, which means slf4j, which means ugly log messages.

      Unable to find source-code formatter for language: text. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      gremlin> g = Neo4jGraph.open('/tmp/neo4j-test')
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/smallette/git/tp/tinkerpop3/gremlin-console/target/gremlin-console-3.0.0-SNAPSHOT-standalone/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/smallette/git/tp/tinkerpop3/gremlin-console/target/gremlin-console-3.0.0-SNAPSHOT-standalone/ext/neo4j-gremlin/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/smallette/git/tp/tinkerpop3/gremlin-console/target/gremlin-console-3.0.0-SNAPSHOT-standalone/ext/neo4j-gremlin/logback-classic-1.1.2.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.Log4jLoggerFactory]
      ==>neo4jgraph[EmbeddedGraphDatabase [/tmp/neo4j-test]]
      

      Either suppress the logs or prevent the duplicate bindings or something.....

      Attachments

        Activity

          People

            Unassigned Unassigned
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: