[asterisk-bugs] [JIRA] (ASTERISK-21122) Connecting remote console does not show messages at current verbose level

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Feb 18 19:45:58 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203131#comment-203131 ] 

Rusty Newton commented on ASTERISK-21122:
-----------------------------------------

Richard, hopefully this helps out. After a little testing:

'core show settings': the verbosity displayed from this command appears to only be affected by the setting in asterisk.conf

'core set verbose <integer>': sets the verbosity for the remote console you are on

defining VERBOSE in logger.conf for a file like "full" does result in at least VERBOSE level 3 messages being written to the full log

defining VERBOSE in logger.conf for the "console" only results in a level of 0 for any remote console

defining VERBOSE with an integer level in logger.conf for the "console" results in a level of 0 for any remote console

defining VERBOSE with an integer level in asterisk.conf results in a default verbosity of that same level on any remote console

The logger.conf documentation is ambiguous regarding the integer level and whether the special console filename is affected or not "; 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."
 

Concerning the 'v' and 'd' options for the Asterisk binary - asterisk.conf seems to override those. So starting asterisk with 'asterisk -cvvv' won't do anything if asterisk.conf has verbose=0.


So in summary, if you set a level for verbosity in asterisk.conf then that will be your default for any remote console.  The documentation in logger.conf and the text for 'core show settings', as well as the man page for asterisk should probably be tweaked for clarification. 

                
> Connecting remote console does not show messages at current verbose level
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-21122
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21122
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 11.3.0
>            Reporter: Richard Miller
>            Assignee: Matt Jordan
>            Severity: Minor
>
> When issuing "asterisk -r", no messages are shown.
> "core show settings" displays
> Verbosity: 3
> But until you issue
> "core set verbose 3"
> nothing is displayed in the current console session
> Workaround:
> asterisk -rvvv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list