[OpenSER-Devel] changing debug level on the fly

Edson 4lists at gmail.com
Thu May 29 15:51:37 CEST 2008


Hey, this are good news... I'll give it a try... ;)

Edson

>-----Original Message-----
>From: devel-bounces at lists.openser.org [mailto:devel-
>bounces at lists.openser.org] On Behalf Of Anatoly Pidruchny
>Sent: quinta-feira, 29 de maio de 2008 09:35
>To: Juha Heinanen; devel at lists.openser.org
>Subject: Re: [OpenSER-Devel] changing debug level on the fly
>
>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