aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/milter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/milter.c')
-rw-r--r--src/libserver/milter.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/milter.c b/src/libserver/milter.c
index 1b3e4de7e..511655e92 100644
--- a/src/libserver/milter.c
+++ b/src/libserver/milter.c
@@ -41,11 +41,13 @@
"milter", priv->pool->tag.uid, \
G_STRFUNC, \
__VA_ARGS__)
-#define msg_debug_milter(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \
- "milter", priv->pool->tag.uid, \
+#define msg_debug_milter(...) rspamd_conditional_debug_fast (NULL, NULL, \
+ rspamd_milter_log_id, "milter", priv->pool->tag.uid, \
G_STRFUNC, \
__VA_ARGS__)
+INIT_LOG_MODULE(milter)
+
struct rspamd_milter_context {
gchar *spam_header;
void *sessions_cache;