commit 8612942: [Minor] Reduce log severity
Vsevolod Stakhov
vsevolod at highsecure.ru
Sat Jul 27 12:49:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-27 13:44:57 +0100
URL: https://github.com/rspamd/rspamd/commit/8612942fd478b4728c4acd1f7c91e00d205d91b5 (HEAD -> master)
[Minor] Reduce log severity
---
src/libserver/dns.c | 2 +-
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;
More information about the Commits
mailing list