[asterisk-dev] ast_add_extension2 too verbose
Martin Vít
vit at lam.cz
Thu Sep 27 10:39:50 CDT 2007
Dmitry Andrianov wrote:
>
> Hi.
>
> The ast_add_extension2 function logs the fact it added an extension
> twice. First it does it with ast_log(LOG_DEBUG,...) and second time
> exactly the same message is logged using ast_verbose(
> VERBOSE_PREFIX_3, ...). Due to the fact message is chosen based on
> some condition, these two facts together produce 20 lines of logging
> code :=)
>
>
>
> Is it really necessary to do that? To me, single LOG_DEBUG would be
> enough.
>
>
>
> Obviously I can create a patch, I'm just curious if that behavior
> created intentionally...
>
i'm voting for decrease messages too :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070927/e335a8cd/attachment.htm
More information about the asterisk-dev
mailing list