TengYao Chi created KAFKA-17963:
-----------------------------------
Summary: Considering replacing LogCaptureAppender with ListAppender
Key: KAFKA-17963
URL: https://issues.apache.org/jira/browse/KAFKA-17963
Project: Kafka
Issue Type: Test
Reporter: TengYao Chi
Assignee: TengYao Chi
see discussion:
[https://github.com/apache/kafka/pull/17373#discussion_r1832983990]
It's time to consider replacing `LogCaptureAppender` with `ListAppender`.
Originally, we built `LogCaptureAppender` to facilitate logging tests. However,
after upgrading to Log4j2, `ListAppender` became available as an out-of-the-box
testing tool that offers a wide range of APIs and is easy to use. Most
importantly, it handles edge cases like `ThreadLocal` and mutability for us,
issues that have caused difficulties in maintaining `LogCaptureAppender`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)