Skip to content

Commit

Permalink
Use progress-level logging for MRP resends.
Browse files Browse the repository at this point in the history
Helps to figure out how many are happening in settings that do not capture
detail logs.
  • Loading branch information
bzbarsky-apple committed Oct 6, 2023
1 parent 2d07e21 commit ca72c70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/messaging/ReliableMessageMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ void ReliableMessageMgr::ExecuteActions()
}

entry->sendCount++;
ChipLogDetail(ExchangeManager,
"Retransmitting MessageCounter:" ChipLogFormatMessageCounter " on exchange " ChipLogFormatExchange
" Send Cnt %d",
messageCounter, ChipLogValueExchange(&entry->ec.Get()), entry->sendCount);
ChipLogProgress(ExchangeManager,
"Retransmitting MessageCounter:" ChipLogFormatMessageCounter " on exchange " ChipLogFormatExchange
" Send Cnt %d",
messageCounter, ChipLogValueExchange(&entry->ec.Get()), entry->sendCount);

// Choose active/idle timeout from PeerActiveMode of session per 4.11.2.1. Retransmissions.
System::Clock::Timestamp baseTimeout = entry->ec->GetSessionHandle()->GetMRPBaseTimeout();
Expand Down

0 comments on commit ca72c70

Please sign in to comment.