From 1568102c567afa8932b7d230c6c23b68af2d4ec1 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 27 Sep 2021 18:37:24 -0400 Subject: [PATCH] Remove redundant duplicate message logging. (#9967) We already log the duplicate at the point when we actually drop it. --- src/transport/SessionManager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/transport/SessionManager.cpp b/src/transport/SessionManager.cpp index 12ce3dde34589e..ceb08b21196f5d 100644 --- a/src/transport/SessionManager.cpp +++ b/src/transport/SessionManager.cpp @@ -352,7 +352,6 @@ void SessionManager::MessageDispatch(const PacketHeader & packetHeader, const Tr CHIP_ERROR err = session->GetPeerMessageCounter().VerifyOrTrustFirst(packetHeader.GetMessageCounter()); if (err == CHIP_ERROR_DUPLICATE_MESSAGE_RECEIVED) { - ChipLogDetail(Inet, "Received a duplicate message with MessageCounter: %" PRIu32, packetHeader.GetMessageCounter()); isDuplicate = SessionManagerDelegate::DuplicateMessage::Yes; err = CHIP_NO_ERROR; } @@ -433,7 +432,6 @@ void SessionManager::SecureMessageDispatch(const PacketHeader & packetHeader, co err = state->GetSessionMessageCounter().GetPeerMessageCounter().Verify(packetHeader.GetMessageCounter()); if (err == CHIP_ERROR_DUPLICATE_MESSAGE_RECEIVED) { - ChipLogDetail(Inet, "Received a duplicate message with MessageCounter: %" PRIu32, packetHeader.GetMessageCounter()); isDuplicate = SessionManagerDelegate::DuplicateMessage::Yes; err = CHIP_NO_ERROR; }