[Home]

Summary:ASTERISK-10212: [patch] Change verbose and debug levels to floating point
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2007-08-31 10:45:19Date Closed:2007-10-15 11:31:28
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20070823__verbose_as_float.diff.txt
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.
Comments:By: Russell Bryant (russell) 2007-10-11 12:58:10

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.

By: Tilghman Lesher (tilghman) 2007-10-15 11:31:28

Okey doke