mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +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:
parent
b324d5bea0
commit
f49b1825cb
@ -1,3 +1,10 @@
|
||||
2230. [func] tmark
|
||||
Both kea-dhcp4 and kea-dhcp6 will now emit a INFO
|
||||
level log statement for each packet received and
|
||||
sent by the server. Formerly these logs were only
|
||||
emitted at DEBUG level.
|
||||
(Gitlab #3203)
|
||||
|
||||
2229. [bug] tmark
|
||||
Modified configure.ac to detect versions of MySQL
|
||||
client libary for which MYSQL_OPT_RECONNECT is
|
||||
|
@ -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()))
|
||||
|
@ -868,7 +868,7 @@ Dhcpv6Srv::processPacket(Pkt6Ptr query) {
|
||||
// Assign this packet to a class, if possible
|
||||
classifyPacket(query);
|
||||
|
||||
LOG_DEBUG(packet6_logger, DBG_DHCP6_BASIC_DATA, DHCP6_PACKET_RECEIVED)
|
||||
LOG_INFO(packet6_logger, DHCP6_PACKET_RECEIVED)
|
||||
.arg(query->getLabel())
|
||||
.arg(query->getName())
|
||||
.arg(static_cast<int>(query->getType()))
|
||||
@ -1437,7 +1437,7 @@ Dhcpv6Srv::processPacketBufferSend(CalloutHandlePtr& callout_handle,
|
||||
callout_handle->getArgument("response6", rsp);
|
||||
}
|
||||
|
||||
LOG_DEBUG(packet6_logger, DBG_DHCP6_BASIC, DHCP6_PACKET_SEND)
|
||||
LOG_INFO(packet6_logger, DHCP6_PACKET_SEND)
|
||||
.arg(rsp->getLabel())
|
||||
.arg(rsp->getName())
|
||||
.arg(static_cast<int>(rsp->getType()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user