Browse Source

[Minor] Add ANN name to log line when checking neural network

tags/1.7.6
Vsevolod Stakhov 6 years ago
parent
commit
974f4532c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/neural.lua

+ 1
- 1
src/plugins/lua/neural.lua View File

@@ -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

Loading…
Cancel
Save