From 46603b23447e3ac1963fefd2012344afd6fc192a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 28 Feb 2017 12:25:31 +0000 Subject: [PATCH] [Minor] Some more debug for bayes skip --- src/libstat/stat_process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index 9c93de8ff..a1269664d 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -321,6 +321,8 @@ rspamd_stat_preprocess (struct rspamd_stat_ctx *st_ctx, if (!rspamd_symbols_cache_is_symbol_enabled (task, task->cfg->cache, st->stcf->symbol)) { g_ptr_array_index (task->stat_runtimes, i) = NULL; + msg_debug_task ("symbol %s is disabled, skip classification", + st->stcf->symbol); continue; } -- 2.39.5