ramanathan1504 commented on PR #4404: URL: https://github.com/apache/logging-log4j2/pull/4404#issuecomment-6300879448
Using the logger's `MessageFactory` in `LocationAwareLogger.log()` matches what `info()` and the other methods already do. Both new tests fail without the change. With the default `ReusableMessageFactory` the message is never released, so it stays reserved and keeps the last params. Can we release it in a `finally` block as `AbstractLogger.logMessageSafely()` does, and fix the same code in `log4j-slf4j2-impl`'s `Log4jLogger`? -- 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]
