[asterisk-dev] ast_debug() vs ast_log(LOG_DEBUG, ...) vs ast_log(AST_LOG_DEBUG, ...)

Paul Belanger pabelanger at digium.com
Mon Jan 3 20:09:31 CST 2011


On 11-01-03 04:51 PM, Kirill Katsnelson wrote:
> I sent in a patch (#18556) for the 6 most annoying of these, which are
> triggered on every call, but I do not think there is any sense for me or
> any outsider to submit a patch trying to fix all 200--the patch will
> certainly be obsolete if/when it might be applied, given the usual
> turn-around time of months/years. It could only be done with someone
> having almost direct commit right. I'm sure it will be appreciated by
> the community if it could be fixed by the Asterisk team, however, if
> there would be a time slot found in someone's schedule for it!
> 
Should be pretty straight forward to patch:

$ find . -type f | grep -v svn | xargs sed -i
's/ast_log(LOG_DEBUG,/ast_debug(1,/g'

Will test and submit to reviewboard in the morning.

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list