Log more details in warns. (#2166)

Logging more details in warns so that we do not have to enable Infow
for some logs later.
This commit is contained in:
Raja Subramanian
2023-10-21 11:02:34 +05:30
committed by GitHub
parent b591c56aa3
commit 3e9450c774
3 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func (r *RTPMunger) UpdateAndGetSnTs(extPkt *buffer.ExtPacket) (*TranslationPara
r.logger.Errorw(
"unexpected packet ordering", nil,
"extIncomingSN", extPkt.ExtSequenceNumber,
"extHighestIncominSN", r.extHighestIncomingSN,
"extHighestIncomingSN", r.extHighestIncomingSN,
"extLastSN", r.extLastSN,
"snOffsetIncoming", snOffset,
"snOffsetHighest", r.snOffset,