Browse Source

[Minor] Reduce logger level

tags/1.6.2
Vsevolod Stakhov 6 years ago
parent
commit
66394a369f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/hfilter.lua

+ 1
- 1
src/plugins/lua/hfilter.lua View File

@@ -228,7 +228,7 @@ local function check_host(task, host, symbol_suffix, eq_ip, eq_host)
local function check_host_cb_mx(_, to_resolve, results, err)
task:inc_dns_req()
if err and (err ~= 'requested record is not found' and err ~= 'no records with this name') then
rspamd_logger.errx(task, 'error looking up %s: %s', to_resolve, err)
rspamd_logger.infox(task, 'error looking up %s: %s', to_resolve, err)
end
if not results then
task:insert_result('HFILTER_' .. symbol_suffix .. '_NORES_A_OR_MX', 1.0,

Loading…
Cancel
Save