diff --git a/backend/src/plugins/websocket.ts b/backend/src/plugins/websocket.ts index 2c31019..9c36396 100644 --- a/backend/src/plugins/websocket.ts +++ b/backend/src/plugins/websocket.ts @@ -29,7 +29,7 @@ export async function websocketPlugin(fastify: FastifyInstance) { const socket = connection.socket; clients.set(clientId, socket); - fastify.log.info(`WebSocket client connected: ${clientId}`); + fastify.log.debug(`WebSocket client connected: ${clientId}`); // Send welcome message socket.send(JSON.stringify({ @@ -53,7 +53,7 @@ export async function websocketPlugin(fastify: FastifyInstance) { socket.on('close', () => { clients.delete(clientId); - fastify.log.info(`WebSocket client disconnected: ${clientId}`); + fastify.log.debug(`WebSocket client disconnected: ${clientId}`); }); socket.on('error', (error: Error) => {