Is there any way I can remove appender from a logger in log4j2 programmatically ?
The website says "Log4j 2 API does not expose methods to add, modify or remove appenders and filters or manipulate the configuration in any way" : https://logging.apache.org/log4j/2.x/manual/configuration.html
But i would really appreciate if someone can suggest an indirect way to achieve this.
Thanks.