From 013414ca4b32fa4f25ec37076b537d0bb130be9f Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Tue, 27 Sep 2016 16:35:38 -0400 Subject: [PATCH] logger: Output early verbose messages to console. Verbose messages should be printed to the console if the sublevel is less than option_verbose. This fix ensures the welcome message with copyright and license are printed at daemon and interactive rasterisk startup. ASTERISK-26410 #close Change-Id: Ia44235e30ec328aba92ea2c8a837b094e65c9a03 --- main/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/logger.c b/main/logger.c index 0c839ffeea..d4cd25122e 100644 --- a/main/logger.c +++ b/main/logger.c @@ -1572,7 +1572,7 @@ static void logger_print_normal(struct logmsg *logmsg) break; } } - } else if (logmsg->level != __LOG_VERBOSE) { + } else if (logmsg->level != __LOG_VERBOSE || option_verbose >= logmsg->sublevel) { fputs(logmsg->message, stdout); } -- 2.47.2