Skip to content

Commit

Permalink
lib-dns: Use dns(host): prefix instead of just host: in event
Browse files Browse the repository at this point in the history
  • Loading branch information
mrannanj authored and villesavolainen committed Nov 14, 2018
1 parent 9867ac5 commit b713cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-dns/dns-lookup.c
Expand Up @@ -378,7 +378,7 @@ dns_client_lookup_common(struct dns_client *client,
lookup->ptr_lookup = ptr_lookup;
lookup->result.ret = EAI_FAIL;
lookup->event = event_create(client->event);
event_set_append_log_prefix(lookup->event, t_strconcat(param, ": ", NULL));
event_set_append_log_prefix(lookup->event, t_strconcat("dns(", param, "): ", NULL));
struct event_passthrough *e =
event_create_passthrough(lookup->event)->
set_name("dns_request_started");
Expand Down

0 comments on commit b713cf5

Please sign in to comment.