[Devel] [ openser-Feature Requests-1724975 ] change debug level during runtime

SourceForge.net noreply at sourceforge.net
Tue May 29 08:59:30 CEST 2007


Feature Requests item #1724975, was opened at 2007-05-24 17:28
Message generated for change (Comment added) made by klaus_darilion
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1724975&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Klaus Darilion (klaus_darilion)
Assigned to: Nobody/Anonymous (nobody)
Summary: change debug level during runtime

Initial Comment:
Hi!

Changing the debug level during runtime via MI would be awesome for debugging.


----------------------------------------------------------------------

>Comment By: Klaus Darilion (klaus_darilion)
Date: 2007-05-29 08:59

Message:
Logged In: YES 
user_id=1318360
Originator: YES

Hi Anatoly!

Yes, a patch would be great.


----------------------------------------------------------------------

Comment By: Anatoly Pidruchny (apidruchny)
Date: 2007-05-25 17:38

Message:
Logged In: YES 
user_id=1759384
Originator: NO

Hi Klaus,

we had implemented the changeable debug level during runtime when we used
SER. Later we moved to OpenSER and I did not propagate this feature to
OpenSER, because we almost never really needed this feature. But I can
easily provide a patch for OpenSER for this feature.

By the way, your description of how this feature can be implemented very
precisely describes how we implemented it. Yes, we put the debug variable
in shared memory.

Anatoly Pidruchny.


----------------------------------------------------------------------

Comment By: Klaus Darilion (klaus_darilion)
Date: 2007-05-25 11:04

Message:
Logged In: YES 
user_id=1318360
Originator: YES

Hi!

i just wonder how this can be implemented. I'm not a programming guru (may
change after Paris ;-) but if I got it right the debug level ist stored in
a global variable (globals.h). This variable will be copied to all openser
processes and changing it in one process does not change it in other
processes.

Thus, to apply changes to all processes, the debug variable has to be in
shared memory. Is it possible to have a global variable (viewable from all
modules) in shard mem?

Any other ideas how this can be achieved?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1724975&group_id=139143



More information about the Devel mailing list