I have found that with configureAndWatch(...) if I set log4j.disable=FATAL it turns OFF all logging... I can then change this to log4j.disable=DEBUG (or INFO, etc) and everything above debug turns on... But I can't get ALL logging to restart once I've set disable=FATAL ... Is there any way to do this? --Thanks, Stephen -----Original Message----- From: Stephen Levinson [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 8:17 AM To: 'LOG4J Users Mailing List' Subject: RE: Disabling logging from a Configuration File Can this be done via configureAndWatch(...) ??? If not, how to do this in real-time runtime...??? Thanks. --Stephen -----Original Message----- From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 5:30 PM To: LOG4J Users Mailing List Subject: Re: Disabling logging from a Configuration File Please, try log4j.disable=FATAL this will become log4j.enable=OFF in log4j version 1.2. Hope this helps, Ceki At 11:30 20.09.2001 -0600, you wrote: >As far as i know, it must be done through Hierarchy.disableAll() and >Hierarchy.disableAll(Priority) >Hierarchy.enableAll() can be called afterwards when required. > > >----- Original Message ----- >From: "Stephen Levinson" <[EMAIL PROTECTED]> >To: "'LOG4J Users Mailing List'" <[EMAIL PROTECTED]> >Sent: Thursday, September 20, 2001 9:32 AM >Subject: Disabling logging from a Configuration File > > >> Hi... >> I'm running with configureAndWatch(,,,) reading a configuration file >> for logging changes and control. >> >> Is there a way to totally DISABLE all logging .... ( like calling >> disableAll() ) ... by means of a setting in my configuration file? >> >> >> Thanks, Stephen > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü - http://qos.ch The world owes Israel a great debt for destroying Saddam's French built nuclear reactor in 1981 and thus preventing nuclear blackmail in the region and perhaps beyond. -- Garry Kasparov (yes, the chess player) --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]