aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-29 10:47:30 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-15 09:10:29 +0000
commit82e510f15ea6fc469d62b5a9bba3c4d8c9f6742b (patch)
treeeef7c855646ea4dce8e37c36dc61c890a4d9da9d /src
parentMerge pull request #5440 (diff)
downloadmonero-82e510f15ea6fc469d62b5a9bba3c4d8c9f6742b.tar.xz
rpc: set default log category in core_rpc_server.h
Diffstat (limited to 'src')
-rw-r--r--src/rpc/core_rpc_server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index a42ca2494..e4683bbe2 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -40,6 +40,9 @@
#include "p2p/net_node.h"
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
+#undef MONERO_DEFAULT_LOG_CATEGORY
+#define MONERO_DEFAULT_LOG_CATEGORY "daemon.rpc"
+
// yes, epee doesn't properly use its full namespace when calling its
// functions from macros. *sigh*
using namespace epee;