[asterisk-bugs] [JIRA] (ASTERISK-21804) CLI command 'reload' has inconsistent output written to console when operating with a DEBUG level greater than 0

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue May 21 16:55:01 CDT 2013


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

Rusty Newton updated ASTERISK-21804:
------------------------------------

    Description: 
When observing the CLI output from the command "reload" I noticed that the output varied each time it was run after running "core set debug 5"

A comparison of log file output to console output over several runs of "reload" appears to show that only the output to console is affected by the issue.

 This could cause someone a huge headache while troubleshooting other issues. They may never notice it unless they compare multiple reload outputs or compare the console output with the log file.

settings.txt, this shows the settings at the start of my test

verboseonly_1.txt shows console output of reload with only VERBOSE console debug enabled.

plusdebug_X.txt , each shows different output after I've ran "core set debug 5" once and then just do a "reload" over and over. I'm not changing debug levels before each reload.

You can see the issue quickly by comparing the last few modules reloaded, plus the associated messages between each file. You'll see that app_queue's NOTICE message is not present after enabling DEBUG and you'll see that some "Reloading ..." lines are missing from the plusdebug_X outputs.

I saw the output vary more than just what you see here.. it's just a few samples I grabbed.

  was:
When observing the CLI output from the command "reload" I noticed that the output varied each time it was run after running "core set debug 5"

A comparison of log file output to console output over several runs of "reload" appears to show that only the output to console is affected by the issue.

 This could cause someone a huge headache while troubleshooting other issues. They may never notice it unless they compare multiple reload outputs or compare the console output with the log file.

settings.txt, this shows the settings at the start of my test

verboseonly_1.txt shows console output of reload with only VERBOSE console debug enabled.

plusdebug_X.txt , each shows different output after I've ran "core set debug 5".

You can see the issue quickly by comparing the last few modules reloaded, plus the associated messages between each file. You'll see that app_queue's NOTICE message is not present after enabling DEBUG and you'll see that some "Reloading ..." lines are missing from the plusdebug_X outputs.

I saw the output vary more than just what you see here.. it's just a few samples I grabbed.

    
> CLI command 'reload' has inconsistent output written to console when operating with a DEBUG level greater than 0
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21804
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21804
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Logging
>    Affects Versions: SVN
>         Environment: 1.8-r389244
>            Reporter: Rusty Newton
>         Attachments: plusdebug_1.txt, plusdebug_2.txt, plusdebug_3.txt, settings.txt, verboseonly_1.txt
>
>
> When observing the CLI output from the command "reload" I noticed that the output varied each time it was run after running "core set debug 5"
> A comparison of log file output to console output over several runs of "reload" appears to show that only the output to console is affected by the issue.
>  This could cause someone a huge headache while troubleshooting other issues. They may never notice it unless they compare multiple reload outputs or compare the console output with the log file.
> settings.txt, this shows the settings at the start of my test
> verboseonly_1.txt shows console output of reload with only VERBOSE console debug enabled.
> plusdebug_X.txt , each shows different output after I've ran "core set debug 5" once and then just do a "reload" over and over. I'm not changing debug levels before each reload.
> You can see the issue quickly by comparing the last few modules reloaded, plus the associated messages between each file. You'll see that app_queue's NOTICE message is not present after enabling DEBUG and you'll see that some "Reloading ..." lines are missing from the plusdebug_X outputs.
> I saw the output vary more than just what you see here.. it's just a few samples I grabbed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list