diff options
Diffstat (limited to 'src/plugins/surbl.c')
-rw-r--r-- | src/plugins/surbl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 7d93c31e3..88992fb07 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -55,11 +55,13 @@ "surbl", task->task_pool->tag.uid, \ G_STRFUNC, \ __VA_ARGS__) -#define msg_debug_surbl(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \ - "surbl", task->task_pool->tag.uid, \ +#define msg_debug_surbl(...) rspamd_conditional_debug_fast (NULL, task->from_addr, \ + rspamd_surbl_log_id, "surbl", task->task_pool->tag.uid, \ G_STRFUNC, \ __VA_ARGS__) +INIT_LOG_MODULE(surbl) + #define SURBL_REDIRECTOR_CALLBACK "SURBL_REDIRECTOR_CALLBACK" static struct surbl_ctx *surbl_module_ctx = NULL; |