From 5d86c9f4d53441e712c3d63883b92a0255de4bf2 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 22 Apr 2017 12:15:57 +0100 Subject: [PATCH] easylogging++: default to creating categories by default This avoids error spews from easylogging++ when we try to log something before easylogging is initialized, which can happen when errors happen at command line parsing time --- external/easylogging++/easylogging++.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc index 3e8463fdf..2438fd77c 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -2095,6 +2095,7 @@ Storage::Storage(const LogBuilderPtr& defaultLogBuilder) : sysLogLogger->reconfigure(); #endif // defined(ELPP_SYSLOG) addFlag(LoggingFlag::AllowVerboseIfModuleNotSpecified); + addFlag(LoggingFlag::CreateLoggerAutomatically); #if ELPP_ASYNC_LOGGING installLogDispatchCallback(std::string("AsyncLogDispatchCallback")); #else