Move a few logs to Debugw (#3437)

This commit is contained in:
Raja Subramanian
2025-02-15 22:16:17 +05:30
committed by GitHub
parent 56a61b6ce2
commit 0c966e6a7e
+3 -3
View File
@@ -839,7 +839,7 @@ func (s *StreamAllocator) handleSignalCongestionStateChange(event Event) {
if s.activeProbeClusterId != ccutils.ProbeClusterIdInvalid { if s.activeProbeClusterId != ccutils.ProbeClusterIdInvalid {
if !s.activeProbeCongesting { if !s.activeProbeCongesting {
s.activeProbeCongesting = true s.activeProbeCongesting = true
s.params.Logger.Infow( s.params.Logger.Debugw(
"stream allocator: channel congestion detected, not updating channel capacity in active probe", "stream allocator: channel congestion detected, not updating channel capacity in active probe",
"old(bps)", s.committedChannelCapacity, "old(bps)", s.committedChannelCapacity,
"new(bps)", cscd.estimatedAvailableChannelCapacity, "new(bps)", cscd.estimatedAvailableChannelCapacity,
@@ -847,7 +847,7 @@ func (s *StreamAllocator) handleSignalCongestionStateChange(event Event) {
) )
} }
} else { } else {
s.params.Logger.Infow( s.params.Logger.Debugw(
"stream allocator: channel congestion detected, updating channel capacity", "stream allocator: channel congestion detected, updating channel capacity",
"old(bps)", s.committedChannelCapacity, "old(bps)", s.committedChannelCapacity,
"new(bps)", cscd.estimatedAvailableChannelCapacity, "new(bps)", cscd.estimatedAvailableChannelCapacity,
@@ -1063,7 +1063,7 @@ func (s *StreamAllocator) maybeStopProbe() {
func (s *StreamAllocator) maybeBoostDeficientTracks() { func (s *StreamAllocator) maybeBoostDeficientTracks() {
availableChannelCapacity := s.getAvailableHeadroom(false) availableChannelCapacity := s.getAvailableHeadroom(false)
if availableChannelCapacity <= 0 { if availableChannelCapacity <= 0 {
s.params.Logger.Infow( s.params.Logger.Debugw(
"stream allocator: no available headroom to boost deficient tracks", "stream allocator: no available headroom to boost deficient tracks",
"committedChannelCapacity", s.committedChannelCapacity, "committedChannelCapacity", s.committedChannelCapacity,
"availableChannelCapacity", availableChannelCapacity, "availableChannelCapacity", availableChannelCapacity,