Reduced log verbosity for pieces that are stable (#1274)

This commit is contained in:
David Zhao
2022-12-29 23:47:36 -08:00
committed by GitHub
parent fe6234329d
commit 112d6fc18b
8 changed files with 37 additions and 26 deletions
+2 -2
View File
@@ -258,7 +258,7 @@ func (r *RoomManager) StartSession(
return errors.New("could not restart participant")
}
logger.Infow("starting RTC session",
logger.Debugw("starting RTC session",
"room", roomName,
"nodeID", r.currentNode.Id,
"participant", pi.Identity,
@@ -456,7 +456,7 @@ func (r *RoomManager) getOrCreateRoom(ctx context.Context, roomName livekit.Room
// manages an RTC session for a participant, runs on the RTC node
func (r *RoomManager) rtcSessionWorker(room *rtc.Room, participant types.LocalParticipant, requestSource routing.MessageSource) {
defer func() {
logger.Infow("RTC session finishing",
logger.Debugw("RTC session finishing",
"participant", participant.Identity(),
"pID", participant.ID(),
"room", room.Name(),