Update to new logging library, using sampling participant logger (#1219)

This commit is contained in:
David Zhao
2022-12-09 00:09:03 -08:00
committed by GitHub
parent 57ce032cfe
commit 7a1273151f
23 changed files with 81 additions and 78 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func NewLivekitServer(conf *config.Config,
middlewares = append(middlewares, NewAPIKeyAuthMiddleware(keyProvider))
}
twirpLoggingHook := TwirpLogger(logger.GetDefaultLogger())
twirpLoggingHook := TwirpLogger(logger.GetLogger())
roomServer := livekit.NewRoomServiceServer(roomService, twirpLoggingHook)
egressServer := livekit.NewEgressServer(egressService, twirpLoggingHook)
ingressServer := livekit.NewIngressServer(ingressService, twirpLoggingHook)