diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-18 11:51:17 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-18 11:51:17 +0100 |
commit | f5b203c98ace2eb818f8497af293bea2967ed83d (patch) | |
tree | 2371073b948793f5f6fe9006ebd6d7f9083d375b /lualib/lua_scanners/sophos.lua | |
parent | f41ac57b3a61a1abfe562a930734a45f36ba5604 (diff) | |
download | rspamd-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.lua | 4 |
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, |