Clean up debug logs (#2076)

This commit is contained in:
Raja Subramanian
2023-09-16 01:57:34 +05:30
committed by GitHub
parent 2113557842
commit 9c2ad54146
2 changed files with 8 additions and 24 deletions
+2 -3
View File
@@ -144,8 +144,8 @@ func (s *sequencer) push(
s.extHighestSN = extModifiedSN
} else {
if diff < -int64(s.size) {
s.logger.Debugw(
"old packet, cannot be sequenced",
s.logger.Warnw(
"old packet, cannot be sequenced", nil,
"extHighestSN", s.extHighestSN,
"extIncomingSN", extIncomingSN,
"extModifiedSN", extModifiedSN,
@@ -189,7 +189,6 @@ func (s *sequencer) pushPadding(extStartSNInclusive uint64, extEndSNInclusive ui
s.Lock()
defer s.Unlock()
s.logger.Debugw("sequencer padding", "extHighestSN", s.extHighestSN, "startSN", extStartSNInclusive, "endSN", extEndSNInclusive)
if s.snRangeMap == nil {
return
}