From: Vsevolod Stakhov Date: Mon, 21 May 2018 12:36:39 +0000 (+0100) Subject: [Minor] Add ANN name to log line when checking neural network X-Git-Tag: 1.7.6~117 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=974f4532c11ad468c1392ffcdd62885b48a51f17;p=rspamd.git [Minor] Add ANN name to log line when checking neural network --- 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