Demote more logs to debug (#1998)
This commit is contained in:
@@ -836,7 +836,7 @@ func (p *ParticipantImpl) SetMigrateState(s types.MigrateState) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
p.params.Logger.Infow("SetMigrateState", "state", s)
|
p.params.Logger.Debugw("SetMigrateState", "state", s)
|
||||||
p.migrateState.Store(s)
|
p.migrateState.Store(s)
|
||||||
p.dirty.Store(true)
|
p.dirty.Store(true)
|
||||||
|
|
||||||
@@ -1536,7 +1536,7 @@ func (p *ParticipantImpl) onSubscribedMaxQualityChange(trackID livekit.TrackID,
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
p.pubLogger.Infow(
|
p.pubLogger.Debugw(
|
||||||
"sending max subscribed quality",
|
"sending max subscribed quality",
|
||||||
"trackID", trackID,
|
"trackID", trackID,
|
||||||
"qualities", subscribedQualities,
|
"qualities", subscribedQualities,
|
||||||
|
|||||||
+2
-1
@@ -1330,7 +1330,8 @@ func BroadcastDataPacketForRoom(r types.Room, source types.LocalParticipant, dp
|
|||||||
|
|
||||||
utils.ParallelExec(destParticipants, dataForwardLoadBalanceThreshold, 1, func(op types.LocalParticipant) {
|
utils.ParallelExec(destParticipants, dataForwardLoadBalanceThreshold, 1, func(op types.LocalParticipant) {
|
||||||
err := op.SendDataPacket(dp, dpData)
|
err := op.SendDataPacket(dp, dpData)
|
||||||
if err != nil && !errors.Is(err, io.ErrClosedPipe) && !errors.Is(err, psrpc.Canceled) {
|
if err != nil && !errors.Is(err, io.ErrClosedPipe) && !errors.Is(err, psrpc.Canceled) &&
|
||||||
|
errors.Is(err, psrpc.ErrStreamClosed) {
|
||||||
op.GetLogger().Infow("send data packet error", "error", err)
|
op.GetLogger().Infow("send data packet error", "error", err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
websocket.CloseNormalClosure,
|
websocket.CloseNormalClosure,
|
||||||
websocket.CloseNoStatusReceived,
|
websocket.CloseNoStatusReceived,
|
||||||
) {
|
) {
|
||||||
pLogger.Infow("exit ws read loop for closed connection", "connID", cr.ConnectionID, "wsError", err)
|
pLogger.Debugw("exit ws read loop for closed connection", "connID", cr.ConnectionID, "wsError", err)
|
||||||
} else {
|
} else {
|
||||||
pLogger.Errorw("error reading from websocket", err, "connID", cr.ConnectionID)
|
pLogger.Errorw("error reading from websocket", err, "connID", cr.ConnectionID)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -838,7 +838,7 @@ func (r *RTPStats) maybeAdjustFirstPacketTime(ets uint64) {
|
|||||||
"extStartTS", r.timestamp.GetExtendedStart(),
|
"extStartTS", r.timestamp.GetExtendedStart(),
|
||||||
)
|
)
|
||||||
if r.firstTime.Sub(firstTime) > firstPacketTimeAdjustThreshold {
|
if r.firstTime.Sub(firstTime) > firstPacketTimeAdjustThreshold {
|
||||||
r.logger.Infow("first packet time adjustment too big, ignoring",
|
r.logger.Debugw("first packet time adjustment too big, ignoring",
|
||||||
"startTime", r.startTime.String(),
|
"startTime", r.startTime.String(),
|
||||||
"nowTime", now.String(),
|
"nowTime", now.String(),
|
||||||
"before", r.firstTime.String(),
|
"before", r.firstTime.String(),
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ func (p *ProbeController) MaybeFinalizeProbe(
|
|||||||
queueWait = p.params.Config.SettleWaitMax
|
queueWait = p.params.Config.SettleWaitMax
|
||||||
}
|
}
|
||||||
p.probeEndTime = p.lastProbeStartTime.Add(queueWait + p.doneProbeClusterInfo.Duration)
|
p.probeEndTime = p.lastProbeStartTime.Add(queueWait + p.doneProbeClusterInfo.Duration)
|
||||||
p.params.Logger.Infow(
|
p.params.Logger.Debugw(
|
||||||
"setting probe end time",
|
"setting probe end time",
|
||||||
"probeClusterId", p.probeClusterId,
|
"probeClusterId", p.probeClusterId,
|
||||||
"expectedDuration", expectedDuration,
|
"expectedDuration", expectedDuration,
|
||||||
|
|||||||
@@ -991,7 +991,7 @@ func (s *StreamAllocator) onProbeDone(isNotFailing bool, isGoalReached bool) {
|
|||||||
//
|
//
|
||||||
channelObserverString := s.channelObserver.ToString()
|
channelObserverString := s.channelObserver.ToString()
|
||||||
s.channelObserver = s.newChannelObserverNonProbe()
|
s.channelObserver = s.newChannelObserverNonProbe()
|
||||||
s.params.Logger.Infow(
|
s.params.Logger.Debugw(
|
||||||
"probe done",
|
"probe done",
|
||||||
"isNotFailing", isNotFailing,
|
"isNotFailing", isNotFailing,
|
||||||
"isGoalReached", isGoalReached,
|
"isGoalReached", isGoalReached,
|
||||||
|
|||||||
Reference in New Issue
Block a user