Skip to content

Commit

Permalink
lib-dns: Remove DNS from the log messages now that it's in the prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj committed Aug 29, 2018
1 parent 619d166 commit 0a53503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib-dns/dns-lookup.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0a53503

Please sign in to comment.