diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-21 13:36:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-05-21 13:36:39 +0100 |
commit | 974f4532c11ad468c1392ffcdd62885b48a51f17 (patch) | |
tree | e4246f3ee4e5ee30e7c98ad2c30ddb1aeb6cc7cf /src/plugins | |
parent | b6a20c74a44332f04a17a6e430a60f1b51d20f0f (diff) | |
download | rspamd-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.lua | 2 |
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 |