utils: initialize easylogging++ in on_startup

It will be reinitialized later once we know about log file
and other command line configuration
This commit is contained in:
moneromooo-monero 2017-10-27 11:39:27 +01:00
parent 549508296d
commit 7a2a574118
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 0 deletions

View File

@ -542,6 +542,8 @@ std::string get_nix_version_display_string()
}
bool on_startup()
{
mlog_configure("", true);
sanitize_locale();
#ifdef __GLIBC__