From: Vsevolod Stakhov Date: Tue, 26 Nov 2013 14:53:27 +0000 (+0000) Subject: Log debug messages from libraries. X-Git-Tag: 0.6.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d84f65a53e99fa30e4906f46a55a4912930c968;p=rspamd.git Log debug messages from libraries. --- diff --git a/src/logger.h b/src/logger.h index 46bf31a96..676b30131 100644 --- a/src/logger.h +++ b/src/logger.h @@ -102,7 +102,7 @@ void rspamd_log_nodebug (rspamd_logger_t *logger); #define msg_err(...) rspamd_default_log_function(G_LOG_LEVEL_CRITICAL, __FUNCTION__, __VA_ARGS__) #define msg_warn(...) rspamd_default_log_function(G_LOG_LEVEL_WARNING, __FUNCTION__, __VA_ARGS__) #define msg_info(...) rspamd_default_log_function(G_LOG_LEVEL_INFO, __FUNCTION__, __VA_ARGS__) -#define msg_debug(...) do {} while(0) +#define msg_debug(...) rspamd_default_log_function(G_LOG_LEVEL_DEBUG, __FUNCTION__, __VA_ARGS__) #define debug_task(...) do {} while(0) #endif