You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Chanaka (JIRA)" <ji...@apache.org> on 2019/07/16 19:11:00 UTC

[jira] [Commented] (GORA-616) Multiple slf4j conflict issue

    [ https://issues.apache.org/jira/browse/GORA-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886395#comment-16886395 ] 

Chanaka commented on GORA-616:
------------------------------

Hi, 

StaticLoggerBinders coming from slf4j-simple jar in gora-couchdb and log4j-slf4j-impl in gora-solr caused this issue. Fixed and verified by excluding those artifacts from relevant dependencies. Please review [https://github.com/apache/gora/pull/176]

Thanks,

Chanaka 

> Multiple slf4j conflict issue 
> ------------------------------
>
>                 Key: GORA-616
>                 URL: https://issues.apache.org/jira/browse/GORA-616
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-tutorial
>    Affects Versions: 0.9
>            Reporter: Sheriffo Ceesay
>            Priority: Major
>              Labels: build, test
>             Fix For: 0.8, 0.9
>
>
> Testing the 0.9 release using the gora-tutorial module, invoking the line below gives you some warnings and error. 
>  
> bin/gora logmanager -parse gora-tutorial/src/main/resources/access.log
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/home/user/apache-gora-0.9/gora-tutorial/lib/log4j-slf4j-impl-2.11.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/home/user/apache-gora-0.9/gora-tutorial/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/home/user/apache-gora-0.9/gora-tutorial/lib/slf4j-simple-1.6.6.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]
> ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See [https://logging.apache.org/log4j/2.x/manual/configuration.html] for instructions on how to configure Log4j 2



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)