logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Panico" <joe_pan...@hotmail.com>
Subject Re: programmatically suspend logging
Date Wed, 07 Mar 2001 23:32:45 GMT
I'm using a PropertyConfigurator ;)

thanks for the quick reply.

joe


>From: Ceki Gülcü <cgu@qos.ch>
>Reply-To: "LOG4J Users Mailing List" <log4j-user@jakarta.apache.org>
>To: "LOG4J Users Mailing List" <log4j-user@jakarta.apache.org>
>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: cgu@qos.ch (preferred)
>CH-1005 Lausanne           ceki_gulcu@yahoo.com
>Switzerland         Tel: ++41 21 351 23 15
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Mime
View raw message