aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-05 14:07:45 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-05 14:53:30 +0000
commit1505dd38c96172a7a6846b33a052b82a4e9f9a85 (patch)
tree1f511f84aed2636cfa0a4237c5df4bd9cefb7a29
parentMerge pull request #4878 (diff)
downloadmonero-1505dd38c96172a7a6846b33a052b82a4e9f9a85.tar.xz
util: set MONERO_DEFAULT_LOG_CATEGORY
Otherwise it'd end up with whatever was included last
Diffstat (limited to '')
-rw-r--r--src/common/util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp
index 58b0d8210..ab84b3185 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -81,6 +81,9 @@ using namespace epee;
#include <boost/asio.hpp>
#include <openssl/sha.h>
+#undef MONERO_DEFAULT_LOG_CATEGORY
+#define MONERO_DEFAULT_LOG_CATEGORY "util"
+
namespace tools
{
std::function<void(int)> signal_handler::m_handler;