Can i remove @0x<hexadecimal-number> in my log query message, bind 9.11
Tony Finch
dot at dotat.at
Mon Nov 4 10:57:07 UTC 2019
Nguyen Huy Bac <huybac.nguyen at VNNIC.VN> wrote:
> So, my question is: Can and How to remove @0x<hexadecimal-number> in my
> log query message.
There is no convenient way. You have to apply this patch:
diff --git a/lib/ns/client.c b/lib/ns/client.c
index f16ece8c49..7861f12084 100644
--- a/lib/ns/client.c
+++ b/lib/ns/client.c
@@ -4066,8 +4066,8 @@ ns_client_logv(ns_client_t *client, isc_logcategory_t *category,
}
isc_log_write(ns_lctx, category, module, level,
- "client @%p %s%s%s%s%s%s%s%s: %s",
- client, peerbuf, sep1, signer, sep2, qname, sep3,
+ "client %s%s%s%s%s%s%s%s: %s",
+ peerbuf, sep1, signer, sep2, qname, sep3,
sep4, viewname, msgbuf);
}
Tony.
--
f.anthony.n.finch <dot at dotat.at> http://dotat.at/
West Forties, Cromarty, Forth: Northeasterly 6 to gale 8, occasionally 5
later. Rough or very rough. Rain or showers. Good, occasionally poor.
More information about the bind-users
mailing list