[OpenSER-Devel] changing debug level on the fly

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu May 29 16:49:25 CEST 2008


Hi Anatoly,

my bad - I have to admit sometime I "forget" about the documentation 
after writing the code.... - I will take care of this and see if the 
docs needs to be updated.

Regards,
Bogdan

Anatoly Pidruchny wrote:
> Juha,
>
> you can also change the debug level temporarily per process for a script 
> section using the script function setdebug. Below is some information 
> from the ChangeLog for 1.3.x release. This function is still not 
> documented in the core cookbook.
>
> 2007-07-19 08:23  Bogdan-Andrei Iancu, <bogdan at voice-system dot ro>
>
>     * [r2478] action.c, cfg.lex, cfg.y, dprint.c, dprint.h, route.c,
>       route_struct.c, route_struct.h:
>       - new core script function - setdebug([leve]) - it can be used to
>       change the debug level (per process) for a script section.
>
> --
> Anatoly.
>   
>> Edson writes:
>>
>>  > It would be even better if this control could be done not only through MI
>>  > commands, but also through script commands/variable. It would permit
>>  > increase and decrease debug level based on script logic given a more
>>  > granular control over debug info.
>>
>> that should be possible if debug variable would be mapped to a shared
>> memory variable that could then be set using cfgutils functions.
>>
>> -- juha
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>>
>>   
>>     
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list