MXS-2005: Use log manager only after initialization
The log manager functions must not be used before it is initialized.
This commit is contained in:
@ -37,6 +37,9 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
mxs_log_init(NULL, NULL, MXS_LOG_TARGET_STDOUT);
|
||||
atexit(mxs_log_finish);
|
||||
|
||||
if (!utils_init())
|
||||
{
|
||||
cout << "Utils library init failed." << endl;
|
||||
|
||||
Reference in New Issue
Block a user