[asterisk-bugs] [JIRA] (ASTERISK-22456) Logger.conf: Logging types ignored after specifying a verbose level

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Wed Sep 4 10:43:03 CDT 2013


Kevin Harwell created ASTERISK-22456:
----------------------------------------

             Summary: Logger.conf: Logging types ignored after specifying a verbose level
                 Key: ASTERISK-22456
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22456
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Logging
    Affects Versions: 12.0.0-alpha1, 11.5.1, 1.8.23.1, SVN
            Reporter: Kevin Harwell
            Severity: Trivial


In logger.conf if you set a level on verbose any type specified after that are not read.

Set the following in logger.conf:
{noformat}
console => notice,warning,error,verbose,debug
{noformat}

Issue a "logger show channels" on the CLI:
{noformat}
logger show channels
Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
/opt/asterisk/11/var/log/asterisk/m File     Enabled    - NOTICE WARNING ERROR 
                                    Console  Enabled    - DEBUG NOTICE WARNING ERROR VERBOSE
{noformat}

Now add a level to verbose:
{noformat}
console => notice,warning,error,verbose(3),debug
{noformat}

Reload the logger and show:
{noformat}
*CLI> logger show channels
Channel                             Type     Status    Configuration
-------                             ----     ------    -------------
/opt/asterisk/11/var/log/asterisk/m File     Enabled    - NOTICE WARNING ERROR 
                                    Console  Enabled    - NOTICE WARNING ERROR VERBOSE
{noformat}

Debug is now missing.


--
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