On Thursday 29 May 2008, Juha Heinanen wrote:
> 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.

If CHANGEABLE_DEBUG_LEVEL is defined in Makefile.defs (and by default it 
is) the variable holding the debug level is kept in shared memory so it 
can be changed by the MI debug command. Thus, mapping it to a shm pseudo 
variable should be enough to do the trick.

-- 
Dan

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to