diff options
author | AL <AlexeySa@users.noreply.github.com> | 2016-10-16 14:23:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-16 14:23:00 +0300 |
commit | c59d119721c2ae4a00d538e138d017a1e29cb9c5 (patch) | |
tree | 982e3b9dd979b54948e2fbbca2f7bae808e04437 /src/plugins/lua/greylist.lua | |
parent | 2e2b739c50a5f887624c54a1a3cd5030e5647eee (diff) | |
download | rspamd-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.lua | 6 |
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 |