Commit 200c441a authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

use structured logging

parent 64f6806e
......@@ -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) \
......
......@@ -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)
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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)
......
......@@ -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) \
......
......@@ -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 \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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)
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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) \
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment