From 8f4e3451f4645384df62c1718a889d2263665d26 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 6 Aug 2014 11:57:17 -0400 Subject: [PATCH] increase default log level for debug builds --- daemon/log.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/log.c b/daemon/log.c index 17ee1c745..e3c2691cd 100644 --- a/daemon/log.c +++ b/daemon/log.c @@ -9,7 +9,12 @@ struct log_info __thread log_info; +#ifndef __DEBUG volatile gint log_level = LOG_INFO; +#else +volatile gint log_level = LOG_DEBUG; +#endif + #ifndef MAX_LOG_LINE_LENGTH #define MAX_LOG_LINE_LENGTH 500 #endif