]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-dns: Remove DNS from the log messages now that it's in the prefix
authorMartti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
Wed, 29 Aug 2018 10:23:55 +0000 (13:23 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 14 Nov 2018 11:44:40 +0000 (13:44 +0200)
src/lib-dns/dns-lookup.c

index d41c63d2fa61ace39aa3ca6d2b165cdaea3f8cc1..2c134a2727dd7c84965d04fb221316bc6ac5e9c8 100644 (file)
@@ -76,10 +76,10 @@ static void dns_lookup_callback(struct dns_lookup *lookup)
        if (lookup->result.ret != 0) {
                e->add_int("error_code", lookup->result.ret);
                e->add_str("error", lookup->result.error);
-               e_debug(e->event(), "DNS lookup failed after %u msecs: %s",
+               e_debug(e->event(), "Lookup failed after %u msecs: %s",
                        lookup->result.msecs, lookup->result.error);
        } else {
-               e_debug(e->event(), "DNS lookup successful after %u msecs",
+               e_debug(e->event(), "Lookup successful after %u msecs",
                        lookup->result.msecs);
        }
        lookup->callback(&lookup->result, lookup->context);
@@ -189,7 +189,7 @@ static int dns_client_input_args(struct connection *conn, const char *const *arg
 
 static void dns_lookup_timeout(struct dns_lookup *lookup)
 {
-       lookup->result.error = "DNS lookup timed out";
+       lookup->result.error = "Lookup timed out";
 
        dns_lookup_callback(lookup);
        dns_lookup_free(&lookup);