JWT007 commented on issue #3155: URL: https://github.com/apache/logging-log4j2/issues/3155#issuecomment-2653492506
NOTE: The only "in-library" problem with making getAppenders() return an immutable map is in two unit tests: - ThreadContextBenchmark2#LogBaselineState - ThreadContextBenchmark2#LogThreadContextState Each do the following: ``` config.getAppenders().forEach((name, app) -> app.stop()); config.getAppenders().clear(); ``` Maybe stopping the existing appenders is suffficient for these tests and the entire map does not need to be cleared? -- 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-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org