[metacity] use structured logging



commit 91120542516401ee964b672d6165d01350ea778e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Aug 18 02:42:03 2016 +0300

    use structured logging

 libmetacity/Makefile.am  |    1 +
 src/Makefile.am          |    1 +
 theme-viewer/Makefile.am |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libmetacity/Makefile.am b/libmetacity/Makefile.am
index 785e3e3..c26d310 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 e79d585..d614f87 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 cc1975d..86e88bd 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) \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]