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

David Mollitor commented on HADOOP-16716:
-----------------------------------------

Just to clarify, so we are all on the same page here:

Bridge = Takes code base written for a particular logging framework (Log4J for 
example; log4j-over-slf4j) and makes it SLF4J compatible
Binding = Allows logging framework to plug into a code base written to work 
with the SLF4J framework (slf4j-log4j12)

I'm talking about slf4j-log4j12 which is a binding.  For the 'common' project, 
I highly recommend making it {{test}} scope so that there is no dependence on 
it for project that include hadoop-common in their list of dependencies.  
Anything that includes commons should decide what logging framework to use, not 
inherit it from this project.

> slf4j-log4j12 Should Not Be Included as Dependency
> --------------------------------------------------
>
>                 Key: HADOOP-16716
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16716
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.2
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>
> The project should be using 'slf4j-api' to log to the SLF4J framwork, but the 
> end-project, the project that includes hadoop-commons should be specifying 
> the specific binding to use.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to