From: Carsten Rosenberg Date: Fri, 3 Apr 2020 18:56:35 +0000 (+0200) Subject: [Minor] dkim_signing - fix log messages X-Git-Tag: 2.6~559^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F3318%2Fhead;p=rspamd.git [Minor] dkim_signing - fix log messages --- diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua index 24dbd20d6..4dfcd3b81 100644 --- a/src/plugins/lua/dkim_signing.lua +++ b/src/plugins/lua/dkim_signing.lua @@ -78,11 +78,11 @@ local function do_sign(task, p) p.pubkey = results[1] p.strict_pubkey_check = not settings.allow_pubkey_mismatch elseif not settings.allow_pubkey_mismatch then - rspamd_logger.errx('public key for domain %s/%s is not found: %s, skip signing', + rspamd_logger.infox(task, 'public key for domain %s/%s is not found: %s, skip signing', p.domain, p.selector, err) return else - rspamd_logger.infox('public key for domain %s/%s is not found: %s', + rspamd_logger.infox(task, 'public key for domain %s/%s is not found: %s', p.domain, p.selector, err) end