commit 74ac97a: [Minor] dkim_signing - fix log messages

Carsten Rosenberg c.rosenberg at heinlein-support.de
Fri Apr 3 19:07:09 UTC 2020


Author: Carsten Rosenberg
Date: 2020-04-03 20:56:35 +0200
URL: https://github.com/rspamd/rspamd/commit/74ac97a659d994aeb404486dc92e97ab6120f7f9 (refs/pull/3318/head)

[Minor] dkim_signing - fix log messages

---
 src/plugins/lua/dkim_signing.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
 


More information about the Commits mailing list