diff options
Diffstat (limited to 'src/libstat/classifiers/lua_classifier.c')
-rw-r--r-- | src/libstat/classifiers/lua_classifier.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstat/classifiers/lua_classifier.c b/src/libstat/classifiers/lua_classifier.c index 823f689d5..b76893920 100644 --- a/src/libstat/classifiers/lua_classifier.c +++ b/src/libstat/classifiers/lua_classifier.c @@ -39,11 +39,13 @@ static GHashTable *lua_classifiers = NULL; "luacl", task->task_pool->tag.uid, \ G_STRFUNC, \ __VA_ARGS__) -#define msg_debug_luacl(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \ - "luacl", task->task_pool->tag.uid, \ +#define msg_debug_luacl(...) rspamd_conditional_debug_fast (NULL, task->from_addr, \ + rspamd_luacl_log_id, "luacl", task->task_pool->tag.uid, \ G_STRFUNC, \ __VA_ARGS__) +INIT_LOG_MODULE(luacl) + gboolean lua_classifier_init (rspamd_mempool_t *pool, struct rspamd_classifier *cl) |