Jamie Tsao wrote:
>
> 1) How do you turn off logging completely in the properties file ?
>
Check the javadoc for the field BasicConfigurator.DISABLE_KEY.
Including a property like
log4j.disable=INFO
will disable everything all INFO and DEBUG messages (and makes them very
efficient to pass
:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:06 AM
To: 'LOG4J Users Mailing List'
Subject: RE: Turning off logging in properties file
In my opionion, an ERROR message should NEVER be disabled. I thought that
was the nature of an ERROR.
Setting priority to error should effectiv
, 2001 4:43 PM
To: [EMAIL PROTECTED]
Subject: Turning off logging in properties file
Hi,
I was evaluating log4j as a possible logging package, and I had a couple of
questions:
1) How do you turn off logging completely in the properties file ? I know
you can turn off logging during runtime by
Hi,
I was evaluating log4j as a possible logging package, and I had a couple of
questions:
1) How do you turn off logging completely in the properties file ? I know
you can turn off logging during runtime by calling
PropertyConfigurator.disableAll() , but how can you do so in the properties