aboutsummaryrefslogtreecommitdiffstats
path: root/src/logger.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 19:34:09 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-25 19:34:09 +0400
commit054e575684fe7cc8e4d753b2c460193a21bae6a4 (patch)
tree93c779335d8d20b8b9d98781b7d77105efaabcb4 /src/logger.h
parent34ae83f0151a3fd31f4c045968defa39a2c40985 (diff)
downloadrspamd-054e575684fe7cc8e4d753b2c460193a21bae6a4.tar.gz
rspamd-054e575684fe7cc8e4d753b2c460193a21bae6a4.zip
* More debug
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 9b419c8a6..f25da8645 100644
--- a/src/logger.h
+++ b/src/logger.h
@@ -79,7 +79,7 @@ void rspamd_log_nodebug ();
#define msg_err(args...) rspamd_common_log_function(G_LOG_LEVEL_CRITICAL, __FUNCTION__, ##args)
#define msg_warn(args...) rspamd_common_log_function(G_LOG_LEVEL_WARNING, __FUNCTION__, ##args)
#define msg_info(args...) rspamd_common_log_function(G_LOG_LEVEL_INFO, __FUNCTION__, ##args)
-#define msg_debug(args...) rspamd_common_log_function(G_LOG_LEVEL_DEBUG, __FUNCTION__, ##args)
+#define msg_debug(args...) rspamd_conditional_debug(-1, __FUNCTION__, ##args)
#define debug_task(args...) rspamd_conditional_debug(task->from_addr.s_addr, __FUNCTION__, ##args)
#define debug_ip(ip, args...) rspamd_conditional_debug((ip), __FUNCTION__, ##args)
#else