[Asterisk-code-review] logger: Always enable verbose for console channel. (asterisk[14])

Corey Farrell asteriskteam at digium.com
Tue Sep 20 12:03:59 CDT 2016


Corey Farrell has uploaded a new patch set (#2).

Change subject: logger: Always enable verbose for console channel.
......................................................................

logger: Always enable verbose for console channel.

Previous versions of Asterisk did not require verbose to be specified in
logger.conf for the console channel, if it was requested by command line
or asterisk.conf it just worked.  This change causes Asterisk to always
enable verbose in the console channel level mask.  Verbose is displayed
on consoles if requested by command line, option_verbose or 'core set
verbose'.

This also delays initialization of the logger until after threadstorage
is initialized.  Initializing too early can cause messages to be printed
multiple times to the console (stdout).

ASTERISK-26391 #close

Change-Id: I52187d67c2fcb3efd5561bf04b3e5e23e5ee8a04
---
M main/asterisk.c
M main/logger.c
2 files changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/34/3934/2
-- 
To view, visit https://gerrit.asterisk.org/3934
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I52187d67c2fcb3efd5561bf04b3e5e23e5ee8a04
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list