commit 848ad88: [Minor] Rbl: Fix log message

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Apr 17 11:00:10 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-04-17 11:53:46 +0100
URL: https://github.com/rspamd/rspamd/commit/848ad884606738f882190a6311bd32d579737a94

[Minor] Rbl: Fix log message

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

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 09ac69c94..1e339b1f5 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -299,8 +299,8 @@ local function gen_rbl_callback(rule)
       local wl = whitelist[req_str]
       if wl then
         lua_util.debugm(N, task,
-            'whitelisted %s on %s by %s (%s) rbl rule (%s checked)',
-            req_str, wl.type, wl.symbol, what)
+            'whitelisted request to %s by %s (%s) rbl rule (%s checked type, %s whitelist type)',
+            req_str, wl.type, wl.symbol, what, wl.type)
         if wl.type == what then
           -- Add symbol option (0.0 / 0.0 is used to denounce NAN that prevents score modification)
           task:adjust_result(wl.symbol, 0.0 / 0.0, rule.symbol)


More information about the Commits mailing list