At 11:09 PM 19/07/2001, Gogia, Nitin wrote:

>Hi,
>I wud like to know if the user can enable/disable logging at runtime.

One approach is to call Category.getDefaultHierarchy().disableAll(); in 
your code to turn of all logging by default. The user can override this by 
setting the log4j.disableOverride=true.

HTH

Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to