[Kea-users] HA and logging - COMMAND_RECEIVED

Darren Ankney darren.ankney at gmail.com
Fri Mar 29 11:14:23 UTC 2024


Hi Lexi,

You can add a new logger for kea-dhcp4.commands that specifies a
different output file or you could change the severity to something
higher than warn.

Further reading:
https://kb.isc.org/docs/kea-logging-configuration
https://kea.readthedocs.io/en/kea-2.4.1/arm/logging.html

Thank you,
Darren Ankney

On Wed, Mar 27, 2024 at 8:29 PM Lexi Winter <lexi at le-fay.org> wrote:
>
> hello,
>
> thanks to everyone who responsed to my previous message, i now have Kea
> working with HA for both DHCPv4 and DHCPv6.
>
> however, i've noticed it logs the following message once per second:
>
> 2024-03-28 00:25:50.751 INFO  [kea-dhcp4.commands/54583.0x23045e904e00] COMMAND_RECEIVED Received command 'ha-heartbeat'
>
> this makes it hard to find any relevant information in the log file,
> since it's filled with copies of this message.  is there any way to
> prevent this specific message from being logged?  i did have a look
> through the manual but couldn't see any obvious way to do this.
>
> (i realise i could increase heartbeat-delay to reduce the frequency, but
> even if i set that to, say, 10s, this is still going to overwhelm other
> messages in the log file.)
>
>         thanks, lexi.
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users


More information about the Kea-users mailing list