Nguyen Huy Bac <huybac.ngu...@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  <d...@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.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to