Logging reduction. (#2165)

Move some to Debugw and add sampling for a few.
This commit is contained in:
Raja Subramanian
2023-10-21 10:26:30 +05:30
committed by GitHub
parent 39edfab2b5
commit b591c56aa3
5 changed files with 101 additions and 79 deletions
+2 -2
View File
@@ -539,8 +539,8 @@ func (r *rtpStatsBase) deltaInfo(snapshotID uint32, extStartSN uint64, extHighes
packetsExpected := now.extStartSN - then.extStartSN
if packetsExpected > cNumSequenceNumbers {
r.logger.Errorw(
"too many packets expected in delta", nil,
r.logger.Infow(
"too many packets expected in delta",
"startSN", then.extStartSN,
"endSN", now.extStartSN,
"packetsExpected", packetsExpected,