Log probes. (#3352)

This commit is contained in:
Raja Subramanian
2025-01-21 20:51:03 +05:30
committed by GitHub
parent bea907b3a0
commit 7a7e312424
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -220,7 +220,7 @@ func (r *RemoteBWE) estimateAvailableChannelCapacity(reason channelCongestionRea
}
func (r *RemoteBWE) updateCongestionState(state bwe.CongestionState, reason channelCongestionReason) (bwe.CongestionState, bwe.CongestionState) {
r.params.Logger.Infow(
r.params.Logger.Debugw(
"remote bwe: congestion state change",
"from", r.congestionState,
"to", state,
@@ -309,7 +309,7 @@ func (r *RemoteBWE) ProbeClusterFinalize() (ccutils.ProbeSignal, int64, bool) {
r.congestionState = bwe.CongestionStateNone
r.newChannelObserver()
r.params.Logger.Debugw(
r.params.Logger.Infow(
"remote bwe: probe finalized",
"lastReceived", r.lastReceivedEstimate,
"expectedBandwidthUsage", r.lastExpectedBandwidthUsage,
@@ -797,7 +797,7 @@ func (c *congestionDetector) ProbeClusterFinalize() (ccutils.ProbeSignal, int64,
}
isSignalValid := c.params.Config.ProbeSignal.IsValid(pci)
c.params.Logger.Debugw(
c.params.Logger.Infow(
"send side bwe: probe finalized",
"isSignalValid", isSignalValid,
"probeClusterInfo", pci,