I googled for "log4j2 remove all appenders" and found this: How to remove appender from logger in log4j2 programmatically?
| | | | | | | | | | | How to remove appender from logger in log4j2 programmatically? Is there any way I can remove appender from a logger in log4j2 programmatically ? The website says "Log4j 2 API... | | | is that helpful? One of the answers does indicate that removing all appenders might not be necessary, perhaps you need smarter filtering? On Wednesday, March 25, 2020, 8:34:56 AM EDT, EDMONDO SENA <edse...@gmail.com> wrote: Hello, Is there a similar functionality for Log4j2 that remove All appenders for Loggers? Kind regards. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org