At 23:32 07.03.2001 +0000, Joseph Panico wrote:
>I'm using a PropertyConfigurator ;)
PropertyConfigurator extends BasicConfigurator. This is not actually relevant because
you did say *programmatically* suspend logging, or did you mean something else? Ceki
>>From: Ceki Gülcü <[EMAIL PROTECTED]>
>>Reply-To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
>>To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
>>Subject: Re: programmatically suspend logging
>>Date: Thu, 08 Mar 2001 00:31:01 +0100
>>
>>
>>Yes, it is possible to do this. See the disable and disableOverride methods in
>BasicConfigurator. (These methods moved to the Hierarchy class in log4j 1.1 beta1.)
>Ceki
>>
>>At 23:19 07.03.2001 +0000, Joseph Panico wrote:
>>>Hello,
>>>
>>>Is there a simple way to programmatically suspend (temporarily stop) all logging
>activity? I want the Category heirarchy and all Appenders left in-tact, but for all
>log calls to simply do nothing (NOOP). I then need to programmatically resume logging
>at some later time.
>
>
>I hope to see you at my ApacheCon 2001 presentation
>entitled "Log4j, A Logging Package for Java".
>
>See http://ApacheCon.Com/2001/US/ for more details.
>
>----
>Ceki Gülcü Web: http://qos.ch
>av. de Rumine 5 email: [EMAIL PROTECTED] (preferred)
>CH-1005 Lausanne [EMAIL PROTECTED]
>Switzerland Tel: ++41 21 351 23 15
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]