aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/greylist.lua
diff options
context:
space:
mode:
authorAL <AlexeySa@users.noreply.github.com>2016-10-16 14:23:00 +0300
committerGitHub <noreply@github.com>2016-10-16 14:23:00 +0300
commitc59d119721c2ae4a00d538e138d017a1e29cb9c5 (patch)
tree982e3b9dd979b54948e2fbbca2f7bae808e04437 /src/plugins/lua/greylist.lua
parent2e2b739c50a5f887624c54a1a3cd5030e5647eee (diff)
downloadrspamd-c59d119721c2ae4a00d538e138d017a1e29cb9c5.tar.gz
rspamd-c59d119721c2ae4a00d538e138d017a1e29cb9c5.zip
Fix error level on some messages
Diffstat (limited to 'src/plugins/lua/greylist.lua')
-rw-r--r--src/plugins/lua/greylist.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua
index 90f6be1ea..e8f94101c 100644
--- a/src/plugins/lua/greylist.lua
+++ b/src/plugins/lua/greylist.lua
@@ -108,7 +108,7 @@ local function check_time(task, tm, type)
local t = tonumber(tm)
if not t then
- rspamd_logger.infox(task, 'not a valid number: %s', tm)
+ rspamd_logger.errx(task, 'not a valid number: %s', tm)
return false,false
end
@@ -149,7 +149,7 @@ local function greylist_check(task)
if not err then
upstream:ok()
else
- rspamd_logger.infox(task, 'got error %s when setting greylisting record on server %s',
+ rspamd_logger.errx(task, 'got error %s when setting greylisting record on server %s',
err, upstream:get_addr())
end
end
@@ -198,7 +198,7 @@ local function greylist_check(task)
task:set_pre_result('soft reject', settings['message'])
end
elseif err then
- rspamd_logger.infox(task, 'got error while getting greylisting keys: %1', err)
+ rspamd_logger.errx(task, 'got error while getting greylisting keys: %1', err)
upstream:fail()
end
end