aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/conf.c3
-rw-r--r--src/daemon.c3
-rw-r--r--src/event_pipe.c3
-rw-r--r--src/log.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index ea3f449dc..2f022411e 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -29,6 +29,9 @@
#include <stdlib.h>
#include <errno.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "config"
+
#define MAX_STRING_SIZE MPD_PATH_MAX+80
#define CONF_COMMENT '#'
diff --git a/src/daemon.c b/src/daemon.c
index d920ff6c5..309463cd5 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -35,6 +35,9 @@
#include <grp.h>
#endif
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "daemon"
+
#ifndef WIN32
/** the Unix user name which MPD runs as */
diff --git a/src/event_pipe.c b/src/event_pipe.c
index 2bfdf2044..43a1c4c18 100644
--- a/src/event_pipe.c
+++ b/src/event_pipe.c
@@ -34,6 +34,9 @@
#include <fcntl.h>
#endif
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "event_pipe"
+
static int event_pipe[2];
static guint event_pipe_source_id;
static GMutex *event_pipe_mutex;
diff --git a/src/log.c b/src/log.c
index 575ba4301..5ef3d02b9 100644
--- a/src/log.c
+++ b/src/log.c
@@ -38,6 +38,9 @@
#include <syslog.h>
#endif
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "log"
+
#define LOG_LEVEL_SECURE G_LOG_LEVEL_INFO
#define LOG_DATE_BUF_SIZE 16