From: Stephan Bosch Date: Wed, 23 Sep 2020 00:04:20 +0000 (+0200) Subject: lib-http: http-client-host - Log debug message for failed DNS lookup. X-Git-Tag: 2.3.13~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dff9d4719f8947f1233db517f0f9fe1eb40cbfca;p=thirdparty%2Fdovecot%2Fcore.git lib-http: http-client-host - Log debug message for failed DNS lookup. If the host has no requests, nothing is logged about the failure otherwise. --- diff --git a/src/lib-http/http-client-host.c b/src/lib-http/http-client-host.c index 7fd07956a8..4d3af70606 100644 --- a/src/lib-http/http-client-host.c +++ b/src/lib-http/http-client-host.c @@ -75,6 +75,8 @@ http_client_host_shared_lookup_failure(struct http_client_host_shared *hshared, { struct http_client_host *host; + e_debug(hshared->event, "DNS lookup failed: %s", error); + error = t_strdup_printf("Failed to lookup host %s: %s", hshared->name, error);