From 974f4532c11ad468c1392ffcdd62885b48a51f17 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 21 May 2018 13:36:39 +0100 Subject: [PATCH] [Minor] Add ANN name to log line when checking neural network --- src/plugins/lua/neural.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index c8a6f1173..9d0bbb446 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -290,7 +290,7 @@ local function ann_scores_filter(task) end local symscore = string.format('%.3f', score) - rspamd_logger.infox(task, 'ann score: %s', symscore) + rspamd_logger.infox(task, '%s ann score: %s', rule.name, symscore) if score > 0 then local result = score -- 2.39.5