From: Tomek Mrugalski Date: Fri, 25 Jun 2021 15:35:57 +0000 (+0200) Subject: [#1915] Fixed drop log in clent_handler.cc X-Git-Tag: Kea-1.9.9~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a0da2c4d12239c9c40bf2d4acad9e5ba0a5643;p=thirdparty%2Fkea.git [#1915] Fixed drop log in clent_handler.cc --- diff --git a/src/bin/dhcp4/client_handler.cc b/src/bin/dhcp4/client_handler.cc index f116df3ad6..4bf80d3abd 100644 --- a/src/bin/dhcp4/client_handler.cc +++ b/src/bin/dhcp4/client_handler.cc @@ -14,6 +14,7 @@ using namespace std; using namespace isc::util; +using namespace isc::log; namespace isc { namespace dhcp { @@ -236,7 +237,7 @@ ClientHandler::tryLock(Pkt4Ptr query, ContinuationPtr cont) { if (next_query_id) { // Logging a warning as it is supposed to be a rare event // with well behaving clients... - LOG_WARN(bad_packet4_logger, DHCP4_PACKET_DROP_0011) + LOG_DEBUG(bad_packet4_logger, DBGLVL_PKT_HANDLING, DHCP4_PACKET_DROP_0011) .arg(next_query_id->toText()) .arg(this_thread::get_id()) .arg(holder_id->query_->toText()) @@ -247,7 +248,7 @@ ClientHandler::tryLock(Pkt4Ptr query, ContinuationPtr cont) { } else { // Logging a warning as it is supposed to be a rare event // with well behaving clients... - LOG_WARN(bad_packet4_logger, DHCP4_PACKET_DROP_0011) + LOG_DEBUG(bad_packet4_logger, DBGLVL_PKT_HANDLING, DHCP4_PACKET_DROP_0011) .arg(query->toText()) .arg(this_thread::get_id()) .arg(holder_id->query_->toText())