Do not sample per participant to reduce memory usage

This commit is contained in:
David Zhao
2023-04-03 15:08:27 -07:00
parent 3d739456b1
commit f3d05a9068

View File

@@ -140,7 +140,7 @@ func LoggerWithParticipant(l logger.Logger, identity livekit.ParticipantIdentity
}
values = append(values, "remote", isRemote)
// enable sampling per participant
return l.WithItemSampler().WithValues(values...)
return l.WithValues(values...)
}
func LoggerWithRoom(l logger.Logger, name livekit.RoomName, roomID livekit.RoomID) logger.Logger {