diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-27 13:44:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-27 13:44:57 +0100 |
commit | 8612942fd478b4728c4acd1f7c91e00d205d91b5 (patch) | |
tree | 40edd65d7eca2f395eb491fd79e49a03bcaae437 | |
parent | 0b628d01954cbce49095adf288efe7c7628aba90 (diff) | |
download | rspamd-8612942fd478b4728c4acd1f7c91e00d205d91b5.tar.gz rspamd-8612942fd478b4728c4acd1f7c91e00d205d91b5.zip |
[Minor] Reduce log severity
-rw-r--r-- | src/libserver/dns.c | 2 | ||||
-rw-r--r-- | src/libutil/addr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/dns.c b/src/libserver/dns.c index 3b8770a7b..ab01bc8ed 100644 --- a/src/libserver/dns.c +++ b/src/libserver/dns.c @@ -310,7 +310,7 @@ rspamd_dns_resolv_conf_on_server (struct rdns_resolver *resolver, test_fd = rspamd_inet_address_connect (addr, SOCK_DGRAM, TRUE); if (test_fd == -1 && (errno != EINTR || errno != ECONNREFUSED || errno != ECONNRESET)) { - msg_warn_config ("cannot open connection to nameserver at address %s: %s", + msg_info_config ("cannot open connection to nameserver at address %s: %s", name, strerror (errno)); rspamd_inet_address_free (addr); diff --git a/src/libutil/addr.c b/src/libutil/addr.c index d6a1be471..9e2e76f23 100644 --- a/src/libutil/addr.c +++ b/src/libutil/addr.c @@ -1008,7 +1008,7 @@ rspamd_inet_address_connect (const rspamd_inet_addr_t *addr, gint type, if (r == -1) { if (!async || errno != EINPROGRESS) { close (fd); - msg_warn ("connect %s failed: %d, '%s'", + msg_info ("connect %s failed: %d, '%s'", rspamd_inet_address_to_string_pretty (addr), errno, strerror (errno)); return -1; |