summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-08-18 02:42:03 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2016-08-18 02:42:03 +0300
commit91120542516401ee964b672d6165d01350ea778e (patch)
treea024b87a2fa9254fabe5bc034cff88e78237184c
parentb2106b20993ad67e71a913acffb729445911b007 (diff)
downloadmetacity-91120542516401ee964b672d6165d01350ea778e.tar.gz
use structured logging
-rw-r--r--libmetacity/Makefile.am1
-rw-r--r--src/Makefile.am1
-rw-r--r--theme-viewer/Makefile.am1
3 files changed, 3 insertions, 0 deletions
diff --git a/libmetacity/Makefile.am b/libmetacity/Makefile.am
index 785e3e30..c26d310f 100644
--- a/libmetacity/Makefile.am
+++ b/libmetacity/Makefile.am
@@ -46,6 +46,7 @@ libmetacity_la_SOURCES = \
libmetacity_la_CPPFLAGS = \
-DDATADIR=\"$(datadir)\" \
-DG_LOG_DOMAIN=\"libmetacity\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-I$(top_srcdir) \
$(AM_CPPFLAGS) \
$(NULL)
diff --git a/src/Makefile.am b/src/Makefile.am
index e79d585d..d614f878 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,6 +9,7 @@ AM_CPPFLAGS = \
-DMETACITY_PKGDATADIR=\"$(pkgdatadir)\" \
-DMETACITY_DATADIR=\"$(datadir)\" \
-DG_LOG_DOMAIN=\"metacity\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DSN_API_NOT_YET_FROZEN=1 \
-I$(srcdir)/include \
-I$(top_srcdir) \
diff --git a/theme-viewer/Makefile.am b/theme-viewer/Makefile.am
index cc1975dc..86e88bd2 100644
--- a/theme-viewer/Makefile.am
+++ b/theme-viewer/Makefile.am
@@ -11,6 +11,7 @@ metacity_theme_viewer_SOURCES = \
metacity_theme_viewer_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DLOCALEDIR=\""$(localedir)"\" \
-I$(top_srcdir) \
$(AM_CPPFLAGS) \