mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user