aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/sophos.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-18 11:51:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-18 11:51:17 +0100
commitf5b203c98ace2eb818f8497af293bea2967ed83d (patch)
tree2371073b948793f5f6fe9006ebd6d7f9083d375b /lualib/lua_scanners/sophos.lua
parentf41ac57b3a61a1abfe562a930734a45f36ba5604 (diff)
downloadrspamd-f5b203c98ace2eb818f8497af293bea2967ed83d.tar.gz
rspamd-f5b203c98ace2eb818f8497af293bea2967ed83d.zip
[Minor] Lua_scanners: Improve logging
Diffstat (limited to 'lualib/lua_scanners/sophos.lua')
-rw-r--r--lualib/lua_scanners/sophos.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_scanners/sophos.lua b/lualib/lua_scanners/sophos.lua
index ee0407f9b..9da931c4e 100644
--- a/lualib/lua_scanners/sophos.lua
+++ b/lualib/lua_scanners/sophos.lua
@@ -102,8 +102,8 @@ local function sophos_check(task, content, digest, rule)
upstream = rule.upstreams:get_upstream_round_robin()
addr = upstream:get_addr()
- lua_util.debugm(rule.name, task,
- '%s [%s]: retry IP: %s', rule['symbol'], rule['type'], addr)
+ lua_util.debugm(rule.name, task, '%s: error: %s; retry IP: %s; retries left: %s',
+ rule.log_prefix, err, addr, retransmits)
tcp.request({
task = task,