diff options
author | Corey Farrell <git@cfware.com> | 2016-09-27 16:35:38 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-09-27 16:40:13 -0400 |
commit | 013414ca4b32fa4f25ec37076b537d0bb130be9f (patch) | |
tree | 5f127aa1139c9b962f70036baf8906696e793e7d /main | |
parent | 0b62db30ce1f33a4ba6e04f3dcbe4d68df2456e7 (diff) |
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
Diffstat (limited to 'main')
-rw-r--r-- | main/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/logger.c b/main/logger.c index 0c839ffee..d4cd25122 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); } |