From: Vsevolod Stakhov Date: Sat, 2 Nov 2019 13:41:35 +0000 (+0000) Subject: [Minor] Fix debug logging X-Git-Tag: 2.2~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e477057ab2cc5cc2f2e1160f787b7af425561e;p=thirdparty%2Frspamd.git [Minor] Fix debug logging --- diff --git a/lualib/lua_scanners/virustotal.lua b/lualib/lua_scanners/virustotal.lua index 8e27b3f489..8775100ba3 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',