mirror of
https://github.com/monero-project/monero.git
synced 2025-05-03 13:24:49 -04:00
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:
parent
549508296d
commit
7a2a574118
1 changed files with 2 additions and 0 deletions
|
@ -542,6 +542,8 @@ std::string get_nix_version_display_string()
|
||||||
}
|
}
|
||||||
bool on_startup()
|
bool on_startup()
|
||||||
{
|
{
|
||||||
|
mlog_configure("", true);
|
||||||
|
|
||||||
sanitize_locale();
|
sanitize_locale();
|
||||||
|
|
||||||
#ifdef __GLIBC__
|
#ifdef __GLIBC__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue