Do not sample per participant to reduce memory usage (#1576)

This commit is contained in:
David Zhao
2023-04-03 15:24:53 -07:00
committed by GitHub
parent 31427f7594
commit 1cb6cc3ed7
+1 -1
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 {