aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-01 12:23:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-01 12:23:46 +0100
commitf8fbf1dd71c081539865c2eddb14a71f10c26fe2 (patch)
treee763ff39a2dc6f1e7d1695ea7264db59eeb4e431 /src/plugins/lua/rbl.lua
parent0b22db5cea02baf95628693e8501c89c4328cc80 (diff)
downloadrspamd-f8fbf1dd71c081539865c2eddb14a71f10c26fe2.tar.gz
rspamd-f8fbf1dd71c081539865c2eddb14a71f10c26fe2.zip
Update logging in lua modules.
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua4
1 files changed, 2 insertions, 2 deletions
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