[Kea-users] Including the client-provided hostname in log output

Peter Davies peterd at isc.org
Tue May 12 14:49:11 UTC 2026


Hi Martin,
    In addition to the standard Kea logging facility, there is the 
forensic logging
hook library.

You could use forensic logging and define a "request-parser-format" and 
a "response-parser-format"
that  include the hostname.

See:https://kea.readthedocs.io/en/latest/arm/hooks.html#libdhcp-legal-log-so-forensic-logging

/Peter

On 12/05/2026 11.20, martin f krafft via Kea-users wrote:
>
> Regarding the following, written by “Peter Davies” on 2026-05-12 at 
> 10:29 Uhr +0200:
>
>     At debuglevel 55, the “kea-dhcp4.ddns” logger generates messages:
>     “DHCP4_CLIENT_HOSTNAME_DATA” and “DHCP4_CLIENT_HOSTNAME_DATA” for
>     DHCPOFFERs and DHCPACKs. Both of these debug messages contain the
>     clients
>     hostname.
>
> Many thanks for your reply!
>
> I don’t quite understand why this is debugging information, but it’s 
> not worth taking this further I guess…
>
> Best,
>
> -- 
>
> martin krafft | https://matrix.to/#/#madduck:madduck.net
>
> “distrust all those who love you extremely
> upon a very slight acquaintance and without any visible reason.”
> – lord chesterfield
>
> spamtraps: madduck.bogus at madduck.net
>
>
-- 
Peter Davies
Support Engineer
Internet Systems Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20260512/981f727c/attachment.htm>


More information about the Kea-users mailing list