[asterisk-bugs] [Asterisk 0010620]: [patch] Change verbose and debug levels to floating point
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Oct 11 12:58:10 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10620
======================================================================
Reported By: Corydon76
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10620
Category: Core/Configuration
Reproducibility: always
Severity: feature
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 08-31-2007 10:45 CDT
Last Modified: 10-11-2007 12:58 CDT
======================================================================
Summary: [patch] Change verbose and debug levels to floating
point
Description:
We were discussing this at one time on #asterisk-dev, how it would be
useful to have in-between levels for debugging various things. One way to
do this would be to multiply the current levels by 10, so that the standard
levels would be 0, 10, 20, 30, 40, but another option would be to change
the verbose level itself to a floating point number, which allows for many
more variations and in-between levels.
Of course, if someone does not want to have in-between levels, everything
works the same as it always has.
======================================================================
----------------------------------------------------------------------
russell - 10-11-07 12:58
----------------------------------------------------------------------
I wouldn't say that everything works just as it did before. It turns every
call to ast_debug() or ast_verb() into a floating point comparison instead
of integer.
I feel like the per-file setting of the verbose and debug levels provides
enough flexibility. This might be one of the patches we should poll the
-dev list on.
Issue History
Date Modified Username Field Change
======================================================================
10-11-07 12:58 russell Note Added: 0071826
======================================================================
More information about the asterisk-bugs
mailing list