commit 48e4770: [Minor] Fix debug logging
Vsevolod Stakhov
vsevolod at highsecure.ru
Sat Nov 2 13:49:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-11-02 13:41:35 +0000
URL: https://github.com/rspamd/rspamd/commit/48e477057ab2cc5cc2f2e1160f787b7af425561e
[Minor] Fix debug logging
---
lualib/lua_scanners/virustotal.lua | 4 ++--
1 file 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',
More information about the Commits
mailing list