]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Some more debug for bayes skip
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Feb 2017 12:25:31 +0000 (12:25 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 28 Feb 2017 12:25:31 +0000 (12:25 +0000)
src/libstat/stat_process.c

index 9c93de8ff38e646a52a87bf96374ebf87b6782a0..a1269664d88242a7f41e2e37cd7f3e1f754b8f50 100644 (file)
@@ -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;
                }