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

ASF GitHub Bot commented on JENA-583:
-------------------------------------

GitHub user ajs6f opened a pull request:

    https://github.com/apache/jena/pull/117

    JENA-583: Using Maven optional tag for log4j dependencies

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajs6f/jena JENA-583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/117.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #117
    
----
commit f66812c532882879f9f73fd0b272137219f4ad96
Author: ajs6f <[email protected]>
Date:   2015-12-31T16:31:39Z

    JENA-583: Using Maven optional tag for log4j dependencies

----


> Get rid of log4j dependency in jena-core
> ----------------------------------------
>
>                 Key: JENA-583
>                 URL: https://issues.apache.org/jira/browse/JENA-583
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Jena
>    Affects Versions: Jena 2.11.0
>            Reporter: Francis De Brabandere
>              Labels: logging
>
> Apache jena core seems to pull in log4j and slf4j-log4j12, since you use 
> slf4j I would suppose I can plug in my own logging backend. If you have a 
> hard dependency on log4j at least make it optional and don't force it in the 
> core jena components.
> Ultimately this avoids these kinds of issues:
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:.../target/universal/stage/lib/ch.qos.logback.logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:.../target/universal/stage/lib/org.slf4j.slf4j-log4j12-1.6.4.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 
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to