Review Board 1.7.16

logger: init_logger_chain has unreachable code

Review Request #4497 - Created March 14, 2015 and submitted

Corey Farrell
11, 13, trunk
init_logger_chain has a block of code to set a default console logger if logger.conf was invalid or not found.  Since the code is unreachable, no logger channels to be created.  This changes it so the default console logger is applied any time logger.conf load fails.
Verified that nothing was logged to console with missing logger.conf, and that this patch caused console logging to be enabled in that case.  Also verified that valid logger.conf was not effected.
Review request changed
Updated (March 19, 2015, 6:20 a.m.)
  • changed from pending to submitted
Committed in revision 433149 runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to