You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Michael Roytman <MR...@Novarra.com> on 2001/09/20 17:57:52 UTC

Disabling an appender

Hello,

is there a way to disable logging to a single appender?
In our system users can remotely create socket appenders and smtp appenders
through JDMK MBean interface with their own filtering criteria to view the
log records of their interest.
They have the ability to save the settings of their appenders and filters
for future use.
Right now, when they "stop" the appender I simply close it and remove it
from category and when they "start" it
the appender is recreated. I have a single category which all users'
appenders are added to.
Is it possible to just disable logging to a particular appender without
deleting it?
Thanks.

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org