From 1d84f65a53e99fa30e4906f46a55a4912930c968 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 26 Nov 2013 14:53:27 +0000 Subject: [PATCH] Log debug messages from libraries. --- src/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5