From 91120542516401ee964b672d6165d01350ea778e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Thu, 18 Aug 2016 02:42:03 +0300 Subject: use structured logging --- libmetacity/Makefile.am | 1 + src/Makefile.am | 1 + theme-viewer/Makefile.am | 1 + 3 files changed, 3 insertions(+) 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) \ -- cgit v1.2.1