aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-28 12:25:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-28 12:25:31 +0000
commit46603b23447e3ac1963fefd2012344afd6fc192a (patch)
tree825c4f01b80a2bbf3d57de050b3eba91767c38e5 /src/libstat/stat_process.c
parent23b119eff1c1a2fd597d1b29ec4434119bfa3de8 (diff)
downloadrspamd-46603b23447e3ac1963fefd2012344afd6fc192a.tar.gz
rspamd-46603b23447e3ac1963fefd2012344afd6fc192a.zip
[Minor] Some more debug for bayes skip
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 2 insertions, 0 deletions
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;
}