MXS-621: Message logged before the log manager is initialized are now properly logged
The log manager wasn't initialized implicitly when a log message was written. This caused all logged messages to be ignored before the log manager was initialized.
This commit is contained in:
parent
1fc27b39af
commit
a0d027a513
@ -782,6 +782,7 @@ static void print_log_n_stderr(
|
||||
|
||||
if (do_log)
|
||||
{
|
||||
mxs_log_init(NULL, get_logdir(), MXS_LOG_TARGET_FS);
|
||||
char errbuf[STRERROR_BUFLEN];
|
||||
MXS_ERROR("%s %s %s %s",
|
||||
log_err,
|
||||
|
Loading…
x
Reference in New Issue
Block a user