aboutsummaryrefslogtreecommitdiffstats
path: root/src/logger.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-26 14:53:27 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-26 14:53:27 +0000
commit1d84f65a53e99fa30e4906f46a55a4912930c968 (patch)
treec3d7b220d5c74bfef7d692978018c6d677f113cb /src/logger.h
parent6ddf5c01fed49c0105b1306c6f7f29114fdf4310 (diff)
downloadrspamd-1d84f65a53e99fa30e4906f46a55a4912930c968.tar.gz
rspamd-1d84f65a53e99fa30e4906f46a55a4912930c968.zip
Log debug messages from libraries.
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h2
1 files changed, 1 insertions, 1 deletions
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