From 346a050c3637d06a74376066f16c5e61e3b23774 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 11 Jan 2023 17:05:37 +0100 Subject: [PATCH] kernel-netlink: Increase log level for dumped Netlink messages Some of these contain key material so they should be logged on level 4. --- src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c b/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c index 71905e3c9..cb0944640 100644 --- a/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c +++ b/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.c @@ -359,7 +359,7 @@ static status_t send_once(private_netlink_socket_t *this, struct nlmsghdr *in, if (this->names) { - DBG3(DBG_KNL, "sending %N %u: %b", this->names, in->nlmsg_type, + DBG4(DBG_KNL, "sending %N %u: %b", this->names, in->nlmsg_type, (u_int)seq, in, in->nlmsg_len); } @@ -426,7 +426,7 @@ static status_t send_once(private_netlink_socket_t *this, struct nlmsghdr *in, { if (this->names) { - DBG3(DBG_KNL, "received %N %u: %b", this->names, hdr->nlmsg_type, + DBG4(DBG_KNL, "received %N %u: %b", this->names, hdr->nlmsg_type, hdr->nlmsg_seq, hdr, hdr->nlmsg_len); } memcpy(ptr, hdr, hdr->nlmsg_len);