[gnome-flashback] use structured logging
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] use structured logging
- Date: Fri, 18 Nov 2016 15:43:40 +0000 (UTC)
commit 200c441a269149406ccfbc8432a638f3e40eb68c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Nov 18 17:41:58 2016 +0200
use structured logging
gnome-flashback/Makefile.am | 5 +++++
.../libaudio-device-selection/Makefile.am | 2 ++
gnome-flashback/libautomount-manager/Makefile.am | 5 +++++
gnome-flashback/libbluetooth-applet/Makefile.am | 5 +++++
gnome-flashback/libcommon/Makefile.am | 5 +++++
gnome-flashback/libdesktop-background/Makefile.am | 5 +++++
gnome-flashback/libdisplay-config/Makefile.am | 5 +++++
gnome-flashback/libend-session-dialog/Makefile.am | 5 +++++
gnome-flashback/libidle-monitor/Makefile.am | 5 +++++
gnome-flashback/libinput-settings/Makefile.am | 2 ++
gnome-flashback/libinput-sources/Makefile.am | 5 +++++
gnome-flashback/libnotifications/Makefile.am | 2 ++
gnome-flashback/libpolkit/Makefile.am | 5 +++++
gnome-flashback/libpower-applet/Makefile.am | 5 +++++
gnome-flashback/libscreencast/Makefile.am | 5 +++++
gnome-flashback/libscreensaver/Makefile.am | 3 ++-
gnome-flashback/libscreenshot/Makefile.am | 5 +++++
gnome-flashback/libshell/Makefile.am | 5 +++++
gnome-flashback/libsound-applet/Makefile.am | 5 +++++
.../libstatus-notifier-watcher/Makefile.am | 2 +-
gnome-flashback/libworkarounds/Makefile.am | 2 ++
21 files changed, 86 insertions(+), 2 deletions(-)
---
diff --git a/gnome-flashback/Makefile.am b/gnome-flashback/Makefile.am
index a70f19f..14dfef5 100644
--- a/gnome-flashback/Makefile.am
+++ b/gnome-flashback/Makefile.am
@@ -27,6 +27,11 @@ bin_PROGRAMS = \
gnome-flashback \
$(NULL)
+gnome_flashback_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"gnome-flashback\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
gnome_flashback_CFLAGS = \
$(GNOME_FLASHBACK_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libaudio-device-selection/Makefile.am
b/gnome-flashback/libaudio-device-selection/Makefile.am
index 2d33db5..1ff410f 100644
--- a/gnome-flashback/libaudio-device-selection/Makefile.am
+++ b/gnome-flashback/libaudio-device-selection/Makefile.am
@@ -5,6 +5,8 @@ noinst_LTLIBRARIES = \
$(NULL)
libaudio_device_selection_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"audio-device-selection\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(top_builddir)/gnome-flashback/libaudio-device-selection \
$(NULL)
diff --git a/gnome-flashback/libautomount-manager/Makefile.am
b/gnome-flashback/libautomount-manager/Makefile.am
index f79d28b..0e473f1 100644
--- a/gnome-flashback/libautomount-manager/Makefile.am
+++ b/gnome-flashback/libautomount-manager/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libautomount-manager.la \
$(NULL)
+libautomount_manager_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"automount-manager\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libautomount_manager_la_CFLAGS = \
$(AUTOMOUNT_MANAGER_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libbluetooth-applet/Makefile.am b/gnome-flashback/libbluetooth-applet/Makefile.am
index 9cf341f..48f7f2a 100644
--- a/gnome-flashback/libbluetooth-applet/Makefile.am
+++ b/gnome-flashback/libbluetooth-applet/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libbluetooth-applet.la \
$(NULL)
+libbluetooth_applet_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"bluetooth-applet\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libbluetooth_applet_la_CFLAGS = \
$(BLUETOOTH_APPLET_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libcommon/Makefile.am b/gnome-flashback/libcommon/Makefile.am
index 583c6a4..0f00f8a 100644
--- a/gnome-flashback/libcommon/Makefile.am
+++ b/gnome-flashback/libcommon/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libcommon.la \
$(NULL)
+libcommon_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"common\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libcommon_la_CFLAGS = \
$(COMMON_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libdesktop-background/Makefile.am
b/gnome-flashback/libdesktop-background/Makefile.am
index ee36021..b0689d5 100644
--- a/gnome-flashback/libdesktop-background/Makefile.am
+++ b/gnome-flashback/libdesktop-background/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libdesktop-background.la \
$(NULL)
+libdesktop_background_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"desktop-background\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libdesktop_background_la_CFLAGS = \
$(DESKTOP_BACKGROUND_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libdisplay-config/Makefile.am b/gnome-flashback/libdisplay-config/Makefile.am
index 02a5908..d359838 100644
--- a/gnome-flashback/libdisplay-config/Makefile.am
+++ b/gnome-flashback/libdisplay-config/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libdisplay-config.la
$(NULL)
+libdisplay_config_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"display-config\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libdisplay_config_la_CFLAGS = \
$(DISPLAY_CONFIG_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libend-session-dialog/Makefile.am
b/gnome-flashback/libend-session-dialog/Makefile.am
index ef15f9c..d961006 100644
--- a/gnome-flashback/libend-session-dialog/Makefile.am
+++ b/gnome-flashback/libend-session-dialog/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libend-session-dialog.la \
$(NULL)
+libend_session_dialog_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"end-session-dialog\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libend_session_dialog_la_CFLAGS = \
$(END_SESSION_DIALOG_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libidle-monitor/Makefile.am b/gnome-flashback/libidle-monitor/Makefile.am
index ca39c14..4c6e9d3 100644
--- a/gnome-flashback/libidle-monitor/Makefile.am
+++ b/gnome-flashback/libidle-monitor/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libidle-monitor.la \
$(NULL)
+libidle_monitor_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"idle-monitor\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libidle_monitor_la_CFLAGS = \
$(IDLE_MONITOR_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libinput-settings/Makefile.am b/gnome-flashback/libinput-settings/Makefile.am
index 91936a3..4b63603 100644
--- a/gnome-flashback/libinput-settings/Makefile.am
+++ b/gnome-flashback/libinput-settings/Makefile.am
@@ -5,6 +5,8 @@ noinst_LTLIBRARIES = \
$(NULL)
libinput_settings_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"input-settings\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(top_builddir)/gnome-flashback/libinput-settings \
-I$(top_srcdir)/gnome-flashback \
$(NULL)
diff --git a/gnome-flashback/libinput-sources/Makefile.am b/gnome-flashback/libinput-sources/Makefile.am
index 8b9f181..ec1c77a 100644
--- a/gnome-flashback/libinput-sources/Makefile.am
+++ b/gnome-flashback/libinput-sources/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libinput-sources.la \
$(NULL)
+libinput_sources_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"input-sources\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libinput_sources_la_CFLAGS = \
$(INPUT_SOURCES_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libnotifications/Makefile.am b/gnome-flashback/libnotifications/Makefile.am
index 3b981ca..662ac3b 100644
--- a/gnome-flashback/libnotifications/Makefile.am
+++ b/gnome-flashback/libnotifications/Makefile.am
@@ -5,6 +5,8 @@ noinst_LTLIBRARIES = \
$(NULL)
libnotifications_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"notifications\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(srcdir)/../../gnome-flashback \
-I$(top_builddir)/gnome-flashback \
-I$(top_builddir)/gnome-flashback/libnotifications \
diff --git a/gnome-flashback/libpolkit/Makefile.am b/gnome-flashback/libpolkit/Makefile.am
index d393353..b32fa0a 100644
--- a/gnome-flashback/libpolkit/Makefile.am
+++ b/gnome-flashback/libpolkit/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libpolkit.la \
$(NULL)
+libpolkit_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"polkit\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libpolkit_la_CFLAGS = \
$(POLKIT_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libpower-applet/Makefile.am b/gnome-flashback/libpower-applet/Makefile.am
index a41fb3f..8c63f1b 100644
--- a/gnome-flashback/libpower-applet/Makefile.am
+++ b/gnome-flashback/libpower-applet/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libpower-applet.la \
$(NULL)
+libpower_applet_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"power-applet\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libpower_applet_la_CFLAGS = \
$(POWER_APPLET_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libscreencast/Makefile.am b/gnome-flashback/libscreencast/Makefile.am
index 3baec28..132e778 100644
--- a/gnome-flashback/libscreencast/Makefile.am
+++ b/gnome-flashback/libscreencast/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libscreencast.la \
$(NULL)
+libscreencast_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"screencast\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libscreencast_la_CFLAGS = \
$(SCREENCAST_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libscreensaver/Makefile.am b/gnome-flashback/libscreensaver/Makefile.am
index e4367eb..a20f41b 100644
--- a/gnome-flashback/libscreensaver/Makefile.am
+++ b/gnome-flashback/libscreensaver/Makefile.am
@@ -5,7 +5,8 @@ noinst_LTLIBRARIES = \
$(NULL)
libscreensaver_la_CPPFLAGS = \
- -DG_LOG_DOMAIN=\"gf-screensaver\" \
+ -DG_LOG_DOMAIN=\"screensaver\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(top_builddir)/gnome-flashback/libscreensaver \
$(NULL)
diff --git a/gnome-flashback/libscreenshot/Makefile.am b/gnome-flashback/libscreenshot/Makefile.am
index 2a8a024..66e1d26 100644
--- a/gnome-flashback/libscreenshot/Makefile.am
+++ b/gnome-flashback/libscreenshot/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libscreenshot.la \
$(NULL)
+libscreenshot_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"screenshot\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libscreenshot_la_CFLAGS = \
$(SCREENSHOT_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libshell/Makefile.am b/gnome-flashback/libshell/Makefile.am
index dfaa8be..0c22381 100644
--- a/gnome-flashback/libshell/Makefile.am
+++ b/gnome-flashback/libshell/Makefile.am
@@ -4,6 +4,11 @@ noinst_LTLIBRARIES = \
libshell.la \
$(NULL)
+libshell_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"shell\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libshell_la_CFLAGS = \
$(SHELL_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libsound-applet/Makefile.am b/gnome-flashback/libsound-applet/Makefile.am
index d57254d..ff2b7c6 100644
--- a/gnome-flashback/libsound-applet/Makefile.am
+++ b/gnome-flashback/libsound-applet/Makefile.am
@@ -8,6 +8,11 @@ noinst_LTLIBRARIES = \
libsound-applet.la \
$(NULL)
+libsound_applet_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"sound-applet\" \
+ -DG_LOG_USE_STRUCTURED=1 \
+ $(NULL)
+
libsound_applet_la_CFLAGS = \
$(SOUND_APPLET_CFLAGS) \
$(WARN_CFLAGS) \
diff --git a/gnome-flashback/libstatus-notifier-watcher/Makefile.am
b/gnome-flashback/libstatus-notifier-watcher/Makefile.am
index 7b254eb..8997557 100644
--- a/gnome-flashback/libstatus-notifier-watcher/Makefile.am
+++ b/gnome-flashback/libstatus-notifier-watcher/Makefile.am
@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = \
$(NULL)
libstatus_notifier_watcher_la_CPPFLAGS = \
- -DG_LOG_DOMAIN=\"gf-status-notifier-watcher\" \
+ -DG_LOG_DOMAIN=\"status-notifier-watcher\" \
-DG_LOG_USE_STRUCTURED=1 \
-I$(top_builddir)/gnome-flashback/libstatus-notifier-watcher \
$(NULL)
diff --git a/gnome-flashback/libworkarounds/Makefile.am b/gnome-flashback/libworkarounds/Makefile.am
index bda4bcc..8751072 100644
--- a/gnome-flashback/libworkarounds/Makefile.am
+++ b/gnome-flashback/libworkarounds/Makefile.am
@@ -5,6 +5,8 @@ noinst_LTLIBRARIES = \
$(NULL)
libworkarounds_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"workarounds\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(top_builddir)/gnome-flashback/libworkarounds \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]