aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-09 01:05:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-28 19:32:22 +0000
commit13852678e1c43485e7d49b3a7238332c6158ad4d (patch)
treeb1e9943170224563091287505089930349f37b91 /src
parentMerge pull request #5068 (diff)
downloadmonero-13852678e1c43485e7d49b3a7238332c6158ad4d.tar.xz
common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawn
Diffstat (limited to 'src')
-rw-r--r--src/common/notify.cpp3
-rw-r--r--src/common/spawn.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/common/notify.cpp b/src/common/notify.cpp
index cadc68ea7..533debe71 100644
--- a/src/common/notify.cpp
+++ b/src/common/notify.cpp
@@ -32,6 +32,9 @@
#include "spawn.h"
#include "notify.h"
+#undef MONERO_DEFAULT_LOG_CATEGORY
+#define MONERO_DEFAULT_LOG_CATEGORY "notify"
+
namespace tools
{
diff --git a/src/common/spawn.cpp b/src/common/spawn.cpp
index b2d03f62f..e03552f8c 100644
--- a/src/common/spawn.cpp
+++ b/src/common/spawn.cpp
@@ -42,6 +42,9 @@
#include "util.h"
#include "spawn.h"
+#undef MONERO_DEFAULT_LOG_CATEGORY
+#define MONERO_DEFAULT_LOG_CATEGORY "spawn"
+
namespace tools
{