On Nov 14, 2007 12:08 AM, Jim Van Meggelen <[EMAIL PROTECTED]> wrote:
> Nope, debug and information are not related; at least not how I understand
> it.

Agreed. There are several levels that are controlled in the logger.conf file:

console => debug,notice,warning,error,dtmf

Those are basically unrelated to the verbosity levels because you'll
see those even at verbosity level 0. From what I can remember, even at
debug level 0, you will still get some DEBUG messages, but at a debug
level or 3 or 4, you'll get more.

> You can for example have verbose set to 0 and debug set to 5 (assuming you
> have debug output turned on in logger.conf), and you will see lots of
> debugging messages, but nothing else.
>
> There are numerous areas in the code where a message may or may not be
> generated. Each message is coded as to the minimum verbosity level it will
> output at. So for a message that is looking for verbosity of 3, you would
> not see it if your verbosity was 0,1 or 2, but would at 3 and above.
>
> Or something like that.
>
> I have a sense that when it comes down to it, there is really very little
> useful difference between levels 1-4, but it might be interesting to test
> out different levels on a busy system and see whether there is a notable
> difference in output.

Basically, verbose levels 1 and 2 do not give you anything more than
0. I use verbose levels 1 and 2 in the Verbose() application which
lets you control output at any verbose level you want. Asterisk really
only has meaningful verbosity at levels 3 and 4. Higher than that is
useless. I love when people put a verbose level of 1000 and think it's
doing something more than verbose level 4 :)

There is a small difference between 3 and 4, but not much.

-- 
Leif Madsen.
http://www.leifmadsen.com
http://www.oreilly.com/catalog/asterisk

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

Reply via email to