From 94461f8967e04b53103e3f8defcb4d8a3afb39c3 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Wed, 8 Apr 2026 13:39:09 +0200 Subject: [PATCH] debug: add token endpoint logging --- packages/server/src/routes/livekit.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/routes/livekit.ts b/packages/server/src/routes/livekit.ts index c2c6ad64..c5f5948f 100644 --- a/packages/server/src/routes/livekit.ts +++ b/packages/server/src/routes/livekit.ts @@ -48,6 +48,7 @@ export async function livekitRoutes(app: FastifyInstance): Promise { } const { channelId, dmChannelId } = request.body as { channelId?: string; dmChannelId?: string }; + console.log(`[LIVEKIT_TOKEN] userId=${request.userId} username=${request.username} channelId=${channelId} dmChannelId=${dmChannelId}`); // Determine room name based on channel type let roomName: string; @@ -118,6 +119,7 @@ export async function livekitRoutes(app: FastifyInstance): Promise { const jwt = await token.toJwt(); const livekitUrl = config.livekit.url ?? ''; + console.log(`[LIVEKIT_TOKEN] ISSUED room=${roomName} identity=${identity} url=${livekitUrl}`); const response: LiveKitTokenResponse = { token: jwt,