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

Matt Sicker commented on LOG4J2-1302:
-------------------------------------

That's an interesting question. log4j-slf4j-impl is a bridge, not a logging 
facade, so the reasons for adding log4j-core by default are different. I don't 
have a real strong opinion here as long as sbt makes it simple enough to 
exclude transitive dependencies like maven and gradle.

> log4j-slf4j-impl should provide a runtime dependency on log4j-core
> ------------------------------------------------------------------
>
>                 Key: LOG4J2-1302
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1302
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: SLF4J Bridge
>            Reporter: Steve Davids
>            Assignee: Remko Popma
>             Fix For: 2.8
>
>
> After pulling in the log4j-slf4j-impl I was surprised to find out that I also 
> needed to add the the log4j-core dependency myself instead of the dependency 
> pulled in automatically from the log4j-slf4j-impl pom. I was expecting the 
> behavior provided by slf4j-log4j12 which does pull in the appropriate 
> implementation to get going immediately.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to