Promoting a few logs to Info (#921)

* Promoting a few logs to Info

Also, adding a couple of more info logs which I will remove later
after some debugging.

* mime type

* Protect pause/max layer

* notify even if not bound
This commit is contained in:
Raja Subramanian
2022-08-16 13:03:14 +05:30
committed by GitHub
parent 1d199d1efa
commit d9fdcf8c2b
6 changed files with 27 additions and 10 deletions
+3 -3
View File
@@ -170,7 +170,7 @@ func (u *UpTrackManager) SetPublishedTrackMuted(trackID livekit.TrackID, muted b
track.SetMuted(muted)
if currentMuted != track.IsMuted() {
u.params.Logger.Debugw("mute status changed", "trackID", trackID, "muted", track.IsMuted())
u.params.Logger.Infow("mute status changed", "trackID", trackID, "muted", track.IsMuted())
if u.onTrackUpdated != nil {
u.onTrackUpdated(track, false)
}
@@ -232,7 +232,7 @@ func (u *UpTrackManager) UpdateSubscriptionPermission(
// store as is for use when migrating
u.subscriptionPermission = subscriptionPermission
if subscriptionPermission == nil {
u.params.Logger.Debugw(
u.params.Logger.Infow(
"updating subscription permission, setting to nil",
"version", u.subscriptionPermissionVersion.ToProto().String(),
)
@@ -241,7 +241,7 @@ func (u *UpTrackManager) UpdateSubscriptionPermission(
return nil
}
u.params.Logger.Debugw(
u.params.Logger.Infow(
"updating subscription permission",
"permissions", u.subscriptionPermission.String(),
"version", u.subscriptionPermissionVersion.ToProto().String(),