logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1302) log4j-slf4j-impl should provide a runtime dependency on log4j-core
Date Thu, 08 Dec 2016 17:01:01 GMT

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

Neon commented on LOG4J2-1302:
------------------------------

if I don't have log4j-core, then I get the following ERROR:
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to
the classpath. Using SimpleLogger to log to the console...

> 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
>
> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message