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 Stephen Levinson <St...@sun.com> on 2001/09/14 20:56:52 UTC

Turning logging OFF and ON at runtime

Hi...

	I'm using a PropertyConfigurator with configureAndWatch() to monitor
a config file for control of log4j ... 

	Is there and easy way to set logging TOTALLY OFF ... and later
TOTALLY ON ... WITHOUT having to set each and every category to a high
(FATAL) level?

	Is there one single switch somewhere that will do this ???

	

Thanks, Stephen 

==============================================
Stephen Levinson                    
SUN Microsystems Engineering 
199 Forest St.				
Marlborough, MA 01752
Phone: 508-460-5152 X187
FAX: 508-357-7924
==============================================


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