[asterisk-dev] logger vs. verbosity level in Asterisk 1.8.12.2

Sean Kelly keenskelly at gmail.com
Thu Jul 19 11:10:34 CDT 2012


Hey thanks Paul - ast_verb() is exactly what I needed; the behavior is
exactly as I expect it to be. I will try to put ast_verbose() out of
my memory :-)

Regards,
- Sean

On Wed, Jul 18, 2012 at 7:38 PM, Paul Belanger
<paul.belanger at polybeacon.com> wrote:

> IIRC you want to be using ast_verb() vs ast_verbose().  A good example would
> be to compare app_verbose.c in 1.8 and trunk for the differences.
>
> I think your issue is, you need to add a check for option_verbose:
>
> if (option_verbose > 1) {
>      ast_verbose(VERBOSE_PREFIX_2 "verbose greater then 1");
> }
>
> --
> Paul Belanger | PolyBeacon, Inc.
> Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
> Github: https://github.com/pabelanger | Twitter:
> https://twitter.com/pabelanger
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list