From 7a2a57411817d15d8a200e99ec89ece78f960157 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 27 Oct 2017 11:39:27 +0100 Subject: utils: initialize easylogging++ in on_startup It will be reinitialized later once we know about log file and other command line configuration --- src/common/util.cpp | 2 ++ 1 file changed, 2 insertions(+) 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__ -- cgit v1.2.3