[asterisk-bugs] [JIRA] (ASTERISK-22456) Logger.conf: Logging types ignored after specifying a verbose level
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Wed Sep 4 19:45:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209925#comment-209925 ]
Rusty Newton commented on ASTERISK-22456:
-----------------------------------------
For reference, the documentation describing the syntax from logger.conf
{noformat}
; Verbose takes an additional argument, in the form of an integer level.
; Messages with higher levels will be ignored. If verbose is specified at
; all, it will default to 3.
{noformat}
{noformat}
; error
; verbose(<level>)
; dtmf
{noformat}
> 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: SVN, 1.8.23.1, 11.5.1, 12.0.0-alpha1
> 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