aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-22 12:15:57 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-22 12:15:57 +0100
commit5d86c9f4d53441e712c3d63883b92a0255de4bf2 (patch)
tree932d20b2405c5bf0a42120ec696d6bddfd690fd4 /external
parentMerge pull request #1956 (diff)
downloadmonero-5d86c9f4d53441e712c3d63883b92a0255de4bf2.tar.xz
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
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/easylogging++.cc1
1 files changed, 1 insertions, 0 deletions
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<base::AsyncLogDispatchCallback>(std::string("AsyncLogDispatchCallback"));
#else