Some logging tweaks (#1048)

This commit is contained in:
Raja Subramanian
2022-09-28 23:54:40 +05:30
committed by GitHub
parent ab40ea7e7a
commit d70843bc5a
8 changed files with 182 additions and 225 deletions
+3 -3
View File
@@ -1503,7 +1503,7 @@ func (p *ParticipantImpl) onSubscribedMaxQualityChange(trackID livekit.TrackID,
)
}
p.params.Logger.Debugw(
p.params.Logger.Infow(
"sending max subscribed quality",
"trackID", trackID,
"qualities", subscribedQualities,
@@ -2068,7 +2068,7 @@ func (p *ParticipantImpl) onAnyTransportNegotiationFailed() {
}
func (p *ParticipantImpl) EnqueueSubscribeTrack(trackID livekit.TrackID, f func(sub types.LocalParticipant) error) {
p.params.Logger.Infow("queuing subscribe", "trackID", trackID)
p.params.Logger.Debugw("queuing subscribe", "trackID", trackID)
p.supervisor.UpdateSubscription(trackID, true)
@@ -2083,7 +2083,7 @@ func (p *ParticipantImpl) EnqueueSubscribeTrack(trackID livekit.TrackID, f func(
}
func (p *ParticipantImpl) EnqueueUnsubscribeTrack(trackID livekit.TrackID, willBeResumed bool, f func(subscriberID livekit.ParticipantID, willBeResumed bool) error) {
p.params.Logger.Infow("queuing unsubscribe", "trackID", trackID)
p.params.Logger.Debugw("queuing unsubscribe", "trackID", trackID)
p.supervisor.UpdateSubscription(trackID, false)