C0urante opened a new pull request, #12023: URL: https://github.com/apache/kafka/pull/12023
This reduces duplication and boilerplate involved in creating wrapped `Logger` instances, and preserves the existing precedent of wrapping `LocationAwareLogger` instances with a `LocationAwareKafkaLogger` instance. The `ContextualLogging::setLoggingContext` method is also altered to accept an `AbstractLoggingContext` instance instead of a dynamic prefix, which is more flexible and requires less boilerplate for classes that want to implement the mixin interface. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
