[asterisk-bugs] [JIRA] (ASTERISK-23938) pri set debug 0 span <span> disables file debugging for all spans

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 18 09:54:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-23938:
-----------------------------------

    Affects Version/s: 13.18.4

> 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
>          Components: Channels/chan_dahdi
>    Affects Versions: SVN, 1.8.28.2, 11.10.2, 12.3.2, 13.18.4
>            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