2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[#3203] Log packet recv and send at INFO

Added ChangeLog entry

src/bin/dhcp4/dhcp4_srv.cc
    DHCP4_PACKET_RECEIVED and DHCP4_PACKET_SEND moved to INFO

src/bin/dhcp6/dhcp6_srv.cc
    DHCP6_PACKET_RECEIVED and DHCP6_PACKET_SEND moved to INFO
This commit is contained in:
Thomas Markwalder
2024-05-08 15:10:29 -04:00
parent b324d5bea0
commit f49b1825cb
3 changed files with 11 additions and 4 deletions

View File

@@ -1397,7 +1397,7 @@ Dhcpv4Srv::processPacket(Pkt4Ptr query, bool allow_answer_park) {
// We have sanity checked (in accept() that the Message Type option
// exists, so we can safely get it here.
int type = query->getType();
LOG_DEBUG(packet4_logger, DBG_DHCP4_BASIC_DATA, DHCP4_PACKET_RECEIVED)
LOG_INFO(packet4_logger, DHCP4_PACKET_RECEIVED)
.arg(query->getLabel())
.arg(query->getName())
.arg(type)
@@ -1938,7 +1938,7 @@ Dhcpv4Srv::processPacketBufferSend(CalloutHandlePtr& callout_handle,
callout_handle->getArgument("response4", rsp);
}
LOG_DEBUG(packet4_logger, DBG_DHCP4_BASIC, DHCP4_PACKET_SEND)
LOG_INFO(packet4_logger, DHCP4_PACKET_SEND)
.arg(rsp->getLabel())
.arg(rsp->getName())
.arg(static_cast<int>(rsp->getType()))