aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-12-08 15:49:25 +0000
committerMatthew Wild <mwild1@gmail.com>2020-12-08 15:49:25 +0000
commitee1f17a3013100f875586ba70b5dd485361c6ad8 (patch)
treefa45cdac474f1a5501c3d7199217376e2d0dd935 /net
parent966ae3e9965879512164e3ad4df90f74fb34e334 (diff)
downloadprosody-ee1f17a3013100f875586ba70b5dd485361c6ad8.tar.gz
prosody-ee1f17a3013100f875586ba70b5dd485361c6ad8.zip
net.adns: Reduce 'Exhausted all servers' message to warning
It happens often and generally doesn't require admin intervention.
Diffstat (limited to 'net')
-rw-r--r--net/adns.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/adns.lua b/net/adns.lua
index 8fe05653..48b724c0 100644
--- a/net/adns.lua
+++ b/net/adns.lua
@@ -43,7 +43,7 @@ local function new_async_socket(sock, resolver)
log("warn", "DNS socket for %s disconnected: %s", peername, err);
local servers = resolver.server;
if resolver.socketset[conn] == resolver.best_server and resolver.best_server == #servers then
- log("error", "Exhausted all %d configured DNS servers, next lookup will try %s again", #servers, servers[1]);
+ log("warn", "Exhausted all %d configured DNS servers, next lookup will try %s again", #servers, servers[1]);
end
resolver:servfail(conn); -- Let the magic commence