[Spice-devel] [PATCH spice-gtk 2/2] tools: Enable debugs

Pavel Grunt pgrunt at redhat.com
Tue Mar 14 11:35:19 UTC 2017


the missing log domain caused that spicy's debug messages
were not printed
---
 tools/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/Makefile.am b/tools/Makefile.am
index c80d34a..ba57f2c 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -2,6 +2,8 @@ bin_PROGRAMS = spicy-stats spicy-screenshot
 
 TOOLS_CPPFLAGS =			\
 	-DSPICE_COMPILATION		\
+	-DG_LOG_DOMAIN=\"GSpice\"	\
+	-DSPICE_LOG_DOMAIN=G_LOG_DOMAIN	\
 	-I$(top_builddir)/src		\
 	-I$(top_srcdir)			\
 	-I$(top_srcdir)/src		\
-- 
2.12.0



More information about the Spice-devel mailing list