[asterisk-bugs] [JIRA] (ASTERISK-23938) pri set debug 0 span <span> disables file debugging for all spans
Jonathan Rose (JIRA)
noreply at issues.asterisk.org
Wed Jun 25 16:48:56 CDT 2014
Jonathan Rose created ASTERISK-23938:
----------------------------------------
Summary: pri set debug 0 span <span> disables file debugging for all spans
Key: ASTERISK-23938
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23938
Project: Asterisk
Issue Type: Bug
Security Level: None
Reporter: Jonathan Rose
If debugging is going on for a number of spans and
'pri set debug 0 span <any span>' is used, Asterisk will disable the file output for pri debug entirely without bothering to check if other spans still have log levels higher than 0.
Note that there is no handle for pri set debug without setting span. My personal feeling on this is that 'pri set debug 0 span <span>' shouldn't actually touch the file debug at all and instead 'pri unset debug file' should be added for this purpose.
The alternative is to check all spans to see if their levels are 0 and disable it accordingly, but this still would unset the file when that might not actually be expected since the user didn't unset it explicitly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list