From a44d54645ec0b44c991435cb85b39d2c4c224e97 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 5 Dec 2018 14:07:45 +0000 Subject: [PATCH] util: set MONERO_DEFAULT_LOG_CATEGORY Otherwise it'd end up with whatever was included last --- src/common/util.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/util.cpp b/src/common/util.cpp index 448f792ff..ec7d8b70c 100644 --- a/src/common/util.cpp +++ b/src/common/util.cpp @@ -82,6 +82,9 @@ using namespace epee; #include #include +#undef MONERO_DEFAULT_LOG_CATEGORY +#define MONERO_DEFAULT_LOG_CATEGORY "util" + namespace tools { std::function signal_handler::m_handler;