diff --git a/src/background.c b/src/background.c
index 00c9fd7fbdc12130cddd2f5c33b58befbe1fb9ce..54d64da4509447221bd488d3dec9216b03978143 100644
--- a/src/background.c
+++ b/src/background.c
@@ -5,6 +5,8 @@
  * Author: Guido Günther <agx@sigxcpu.org>
  */
 
+#define G_LOG_DOMAIN "phosh-background"
+
 #include "background.h"
 #include "phosh.h"
 #include "panel.h"
diff --git a/src/favorites.c b/src/favorites.c
index eabf93f9c04b15a0141235200d80776c673557a2..edb64c5fca277c0b116b8686ddc3f8654abe2585 100644
--- a/src/favorites.c
+++ b/src/favorites.c
@@ -6,9 +6,10 @@
  * Based on maynard's favorites whish is
  * Copyright (C) 2013 Collabora Ltd.
  * Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
-
  */
 
+#define G_LOG_DOMAIN "phosh-favorites"
+
 #include "config.h"
 
 #include "favorites.h"
diff --git a/src/lockscreen.c b/src/lockscreen.c
index 582105037db90970c73732c2bda89b9ff346ccaf..2b0d1dbda3a39376c5e5c8c1a9fd8bcbad601444 100644
--- a/src/lockscreen.c
+++ b/src/lockscreen.c
@@ -4,6 +4,8 @@
  * Author: Guido Günther <agx@sigxcpu.org>
  */
 
+#define G_LOG_DOMAIN "phosh-lockscreen"
+
 #include "config.h"
 #include "lockscreen.h"
 #include "wwaninfo.h"
diff --git a/src/panel.c b/src/panel.c
index 37c9003f68237dc0432b9a3e69c0e94cc89016a6..ce0a363d1a9cee1f1b7747e1785aeeece447d912 100644
--- a/src/panel.c
+++ b/src/panel.c
@@ -8,6 +8,8 @@
  * Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
  */
 
+#define G_LOG_DOMAIN "phosh-panel"
+
 #include "config.h"
 
 #include "panel.h"
diff --git a/src/phosh.c b/src/phosh.c
index 61732ff55acc165b4d420597081179a853c63432..4525f1b7009a0729fe59c5945719ffd4752db640 100644
--- a/src/phosh.c
+++ b/src/phosh.c
@@ -8,6 +8,8 @@
  * Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
  */
 
+#define G_LOG_DOMAIN "phosh-phosh"
+
 #include <stdlib.h>
 #include <string.h>
 
diff --git a/src/settings.c b/src/settings.c
index 46ad11017739843f00a8fd8ca8f72121241f0695..a55a916d273f05f828138d1567aa510a1d9f711c 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -5,6 +5,8 @@
  * Author: Guido Günther <agx@sigxcpu.org>
  */
 
+#define G_LOG_DOMAIN "phosh-settings"
+
 #include <glib/gi18n.h>
 
 #include "phosh.h"
diff --git a/src/settings/brightness.c b/src/settings/brightness.c
index 0ee801972fe4ce148f3283817b3dfb7f4e8b4f5f..f9d8deafbedd7ee50d2c20aafe9237959db070d6 100644
--- a/src/settings/brightness.c
+++ b/src/settings/brightness.c
@@ -5,6 +5,8 @@
  * Author: Guido Günther <agx@sigxcpu.org>
  */
 
+#define G_LOG_DOMAIN "phosh-settings-brightness"
+
 #include <gio/gio.h>
 #include <gtk/gtk.h>