[
https://issues.apache.org/jira/browse/LOG4J2-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488680#comment-16488680
]
Björn Kautler commented on LOG4J2-2305:
---------------------------------------
It does not "say it has support", it depends on it.
[http://search.maven.org/remotecontent?filepath=org/apache/logging/log4j/log4j-slf4j-impl/2.11.0/log4j-slf4j-impl-2.11.0.pom:|http://search.maven.org/remotecontent?filepath=org/apache/logging/log4j/log4j-slf4j-impl/2.11.0/log4j-slf4j-impl-2.11.0.pom]<slf4j.version>1.8.0-alpha2</slf4j.version>
[https://github.com/apache/logging-log4j2/blob/master/log4j-slf4j-impl/pom.xml#L34]
<slf4j.version>1.8.0-alpha2</slf4j.version>
[~ralphgoers] introduced this in
[https://github.com/apache/logging-log4j2/commit/a73fce2e726624efdd594f9b23f10ed253ac6884]
8 months ago
> Log4j 2.10+not working with SLF4J 1.8 in OSGI environment
> ---------------------------------------------------------
>
> Key: LOG4J2-2305
> URL: https://issues.apache.org/jira/browse/LOG4J2-2305
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.10.0, 2.11.0
> Reporter: Rob Gansevles
> Priority: Major
>
> I have a simple osgi plugin that just logs something to slf4j Logger in the
> Activator's bundle start method.
> When I install and start log4j-core-2.11.0.jar, log4j-api-2.11.0.jar,
> log4j-slf4j-impl-2.11.0.jar and slf4j-api-1.8.0-beta1.jar in a clean felix
> gogo shell, and then install and start my plugin, it prints the
> No-SLF4J-providers-were-found message.
>
>
> It does work if I do the same with log4j 2.9.1 and slf4j-api-1.7.25.
>
> You can find my simple plugin on github:
> [https://github.com/rgansevles/osgi-slf4j-sample]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)