Hakky54 opened a new issue, #1232: URL: https://github.com/apache/logging-log4j2/issues/1232
## Description I am using log4j-to-slf4j to forward all log4j calls to slf4j for my library [LogCaptor](https://github.com/Hakky54/log-captor). 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` -- 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]
