Re: How does one disable logging!?!

2005-05-16 Thread Daniel Quinlan
[EMAIL PROTECTED] (Justin Mason) writes: I'd say the easiest way to do it would be to add a new -v (verbose) switch -- either than or turn info into something that's logged by default unless the user uses a new -q (quiet) switch. Those are the generic UIs generally used in UNIX utilities for

Re: How does one disable logging!?!

2005-05-14 Thread Daniel Quinlan
Theo Van Dinter [EMAIL PROTECTED] writes: I see no way to disable the output of info and above messages. The default is info, as set in Logger.pm. Passing in a facility that isn't info, or setting multiple facilities, lowers the level to debug. How can I raise it from info to warning or

Re: How does one disable logging!?!

2005-05-14 Thread Theo Van Dinter
On Fri, May 13, 2005 at 11:04:16PM -0700, Dan Quinlan wrote: I see no way to disable the output of info and above messages. The default is info, as set in Logger.pm. Passing in a facility that isn't info, or setting multiple facilities, lowers the level to debug. I must've been

Re: How does one disable logging!?!

2005-05-14 Thread Daniel Quinlan
Theo Van Dinter [EMAIL PROTECTED] writes: Since we've already overloaded the add_facilities() function to also change level w/ info, we could change it so that one can override for all the levels. That would make it easier for people to just keep using -D, but it does overload the facility

Re: How does one disable logging!?!

2005-05-14 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Quinlan writes: Theo Van Dinter [EMAIL PROTECTED] writes: Since we've already overloaded the add_facilities() function to also change level w/ info, we could change it so that one can override for all the levels. That would make it

How does one disable logging!?!

2005-05-13 Thread Theo Van Dinter
I see no way to disable the output of info and above messages. The default is info, as set in Logger.pm. Passing in a facility that isn't info, or setting multiple facilities, lowers the level to debug. How can I raise it from info to warning or error? How do I disable all output if I don't