aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-21 13:36:39 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-21 13:36:39 +0100
commit974f4532c11ad468c1392ffcdd62885b48a51f17 (patch)
treee4246f3ee4e5ee30e7c98ad2c30ddb1aeb6cc7cf /src/plugins
parentb6a20c74a44332f04a17a6e430a60f1b51d20f0f (diff)
downloadrspamd-974f4532c11ad468c1392ffcdd62885b48a51f17.tar.gz
rspamd-974f4532c11ad468c1392ffcdd62885b48a51f17.zip
[Minor] Add ANN name to log line when checking neural network
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/neural.lua2
1 files changed, 1 insertions, 1 deletions
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