Description
Description
I am using log4j-to-slf4j to forward all log4j calls to slf4j for my library LogCaptor. At August 2022 slf4j maintainers released version 2 which does not work anymore with log4j-to-slf4j
. Would it be possible to make it compatible again?
A workaround for me would be forwarding log4j calls to jul and use that, but that I would not be able to use MDC for example and that is the reason why I am hoping that log4j-to-slf4j could be compatible with the latest slf4j release.
[A clear and concise description of what the bug is.]
Non log calls are being sent to slf4j (tested with v2.0.6) from log4j (tested with v2.19.0)
Configuration
Version: 2.19.0
Operating system: any
JDK: oracle jdk 1.8
Logs
[Stacktraces, errors, etc. relevant applications logs.]
Reproduction
Git fork and clone: https://github.com/Hakky54/log-captor
Adjust the slf4j version to 2.0.6 and run the test with mvn verify