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]

Reply via email to