diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-02 13:41:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-11-02 13:41:35 +0000 |
commit | 48e477057ab2cc5cc2f2e1160f787b7af425561e (patch) | |
tree | 99e509ea29a0f82d954b863ced69a8d87d81451a /lualib/lua_scanners | |
parent | fa9cb9810a70fc333afc7c86e53e5f4f6ee7f29e (diff) | |
download | rspamd-48e477057ab2cc5cc2f2e1160f787b7af425561e.tar.gz rspamd-48e477057ab2cc5cc2f2e1160f787b7af425561e.zip |
[Minor] Fix debug logging
Diffstat (limited to 'lualib/lua_scanners')
-rw-r--r-- | lualib/lua_scanners/virustotal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_scanners/virustotal.lua b/lualib/lua_scanners/virustotal.lua index 8e27b3f48..8775100ba 100644 --- a/lualib/lua_scanners/virustotal.lua +++ b/lualib/lua_scanners/virustotal.lua @@ -108,7 +108,7 @@ local function virustotal_check(task, content, digest, rule) rule.log_prefix, hash) else lua_util.debugm(rule.name, task, '%s: hash %s clean (not found)', - rule.log_prefix) + rule.log_prefix, hash) end elseif code == 204 then -- Request rate limit exceeded @@ -139,7 +139,7 @@ local function virustotal_check(task, content, digest, rule) rule.log_prefix, hash) else lua_util.debugm(rule.name, task, '%s: hash %s clean (not found)', - rule.log_prefix) + rule.log_prefix, hash) end else rspamd_logger.errx(task, 'invalid JSON reply: %s, body: %s, headers: %s', |