aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-24 14:11:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-24 14:11:57 +0000
commitc2d682793739cb332728f477abdc3848338b8d0e (patch)
tree21ba2fa570ac1a0bfef1cf95c929f0e9b204da69 /src/plugins
parentdde5ef47920195cd394f6b682ac2655df810c920 (diff)
downloadrspamd-c2d682793739cb332728f477abdc3848338b8d0e.tar.gz
rspamd-c2d682793739cb332728f477abdc3848338b8d0e.zip
Add more diagnostic to fuzzy errors
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fuzzy_check.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 7e03009f9..be1b556c8 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1251,9 +1251,10 @@ fuzzy_generate_commands (struct rspamd_task *task, struct fuzzy_rule *rule,
/* Check length of part */
if (fuzzy_module_ctx->min_bytes > part->content->len) {
- msg_info_task ("<%s>, part is shorter than %d symbols, skip fuzzy "
- "check",
- task->message_id, fuzzy_module_ctx->min_bytes);
+ msg_info_task ("<%s>, part is shorter than %d bytes (%d bytes), "
+ "skip fuzzy check",
+ task->message_id, fuzzy_module_ctx->min_bytes,
+ part->content->len);
continue;
}