Are you looking at clearAppenders()?
On Wednesday, March 25, 2020, 8:56:57 AM EDT, EDMONDO SENA
<[email protected]> wrote:
I think It removes the appender single by single not all in one instruction!
On 2020/03/25 12:46:19, Doug Wegscheid <[email protected]> wrote:
> 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
><[email protected]> wrote:
>
> Hello,
>
> Is there a similar functionality for Log4j2 that remove All appenders for
> Loggers?
> Kind regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]