From 0c966e6a7eaaf27b3c026a0f251321a45a1acbc4 Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Sat, 15 Feb 2025 22:16:17 +0530 Subject: [PATCH] Move a few logs to Debugw (#3437) --- pkg/sfu/streamallocator/streamallocator.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/sfu/streamallocator/streamallocator.go b/pkg/sfu/streamallocator/streamallocator.go index c94ed914..0f1bd65d 100644 --- a/pkg/sfu/streamallocator/streamallocator.go +++ b/pkg/sfu/streamallocator/streamallocator.go @@ -839,7 +839,7 @@ func (s *StreamAllocator) handleSignalCongestionStateChange(event Event) { if s.activeProbeClusterId != ccutils.ProbeClusterIdInvalid { if !s.activeProbeCongesting { s.activeProbeCongesting = true - s.params.Logger.Infow( + s.params.Logger.Debugw( "stream allocator: channel congestion detected, not updating channel capacity in active probe", "old(bps)", s.committedChannelCapacity, "new(bps)", cscd.estimatedAvailableChannelCapacity, @@ -847,7 +847,7 @@ func (s *StreamAllocator) handleSignalCongestionStateChange(event Event) { ) } } else { - s.params.Logger.Infow( + s.params.Logger.Debugw( "stream allocator: channel congestion detected, updating channel capacity", "old(bps)", s.committedChannelCapacity, "new(bps)", cscd.estimatedAvailableChannelCapacity, @@ -1063,7 +1063,7 @@ func (s *StreamAllocator) maybeStopProbe() { func (s *StreamAllocator) maybeBoostDeficientTracks() { availableChannelCapacity := s.getAvailableHeadroom(false) if availableChannelCapacity <= 0 { - s.params.Logger.Infow( + s.params.Logger.Debugw( "stream allocator: no available headroom to boost deficient tracks", "committedChannelCapacity", s.committedChannelCapacity, "availableChannelCapacity", availableChannelCapacity,