aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-27 11:39:27 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-27 22:15:40 +0000
commit7a2a57411817d15d8a200e99ec89ece78f960157 (patch)
treea73b053fea7653d0aebaa72cdd43776337de632b
parentuse memwipe in a few relevant places (diff)
downloadmonero-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
-rw-r--r--src/common/util.cpp2
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__