You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/08/27 08:16:41 UTC

[GitHub] [logging-log4j2] terrettaz commented on pull request #1022: SLF4J2

terrettaz commented on PR #1022:
URL: https://github.com/apache/logging-log4j2/pull/1022#issuecomment-1229148761

   Hi, thanks for the comments!
   I agree this is much better to use the new module and probably delete the slf4j18, I can include the deletion in this PR.
   
   I've checked the code of slf4j-reload4j or logback and I didn't really see the use of these new methods added in MDC. So in order to benefit from this new SLF4J api, I added the option to wire the top of the stack to the MDC of log4j. I added a unit-test to emphase the idea.
   I also prepare and option to activate this behaviour but didn't find the way to get options from the config. Any suggestion from the core developers on how to properly configure log4j-slf4j20-impl
   


-- 
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: notifications-unsubscribe@logging.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org