From f8fbf1dd71c081539865c2eddb14a71f10c26fe2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 1 Sep 2015 12:23:46 +0100 Subject: Update logging in lua modules. --- src/plugins/lua/rbl.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/lua/rbl.lua') diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 45782ba19..6f6c17c7b 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -117,8 +117,8 @@ local function rbl_cb (task) if thisrbl['unknown'] and thisrbl['symbol'] then task:insert_result(thisrbl['symbol'], 1) else - rspamd_logger.err('RBL ' .. thisrbl['rbl'] .. - ' returned unknown result ' .. ipstr) + rspamd_logger.errx(task, 'RBL %1 returned unknown result: %2', + thisrbl['rbl'], ipstr) end end end -- cgit v1.2.3