diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-27 11:39:27 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-11-27 22:15:40 +0000 |
commit | 7a2a57411817d15d8a200e99ec89ece78f960157 (patch) | |
tree | a73b053fea7653d0aebaa72cdd43776337de632b /src/common | |
parent | use memwipe in a few relevant places (diff) | |
download | monero-7a2a57411817d15d8a200e99ec89ece78f960157.tar.xz |
utils: initialize easylogging++ in on_startup
It will be reinitialized later once we know about log file
and other command line configuration
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp index a13ac6e50..0d56e5eb7 100644 --- a/src/common/util.cpp +++ b/src/common/util.cpp @@ -542,6 +542,8 @@ std::string get_nix_version_display_string() } bool on_startup() { + mlog_configure("", true); + sanitize_locale(); #ifdef __GLIBC__ |