HannesWell commented on issue #1232:
URL:
https://github.com/apache/logging-log4j2/issues/1232#issuecomment-1471922943
In the OSGi world it is currently indeed impossible to use log4j-to-slf4j in
conjunction with slf4j-2 because the Manifest only imports the slf4j packages
only up until, but excluding 2:
```
Import-Package:
[...]
org.slf4j;version="[1.7,2)",
org.slf4j.spi;version="[1.7,2)"
```
If log4j-to-slf4j works well with slf4j 1 and 2 I suggest to widen the
package import range to "[1.7,3)".
If the log4j maintainers are interested I can provide a corresponding PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]