From c2484f312a57bf070dbcbd6689845912faf46299 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Thu, 15 Jan 2026 23:50:47 +0100 Subject: [PATCH] PluginBridge: Improve logging --- mcp-server/src/PluginBridge.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mcp-server/src/PluginBridge.ts b/mcp-server/src/PluginBridge.ts index 0089a53..6d61180 100644 --- a/mcp-server/src/PluginBridge.ts +++ b/mcp-server/src/PluginBridge.ts @@ -51,9 +51,9 @@ export class PluginBridge { } if (userToken) { - this.logger.info("New WebSocket connection established (authenticated)"); + this.logger.info("New WebSocket connection established (token provided)"); } else { - this.logger.info("New WebSocket connection established (unauthenticated)"); + this.logger.info("New WebSocket connection established"); } // register the client connection with both indexes @@ -70,12 +70,12 @@ export class PluginBridge { } ws.on("message", (data: Buffer) => { - this.logger.info("Received WebSocket message: %s", data.toString()); + this.logger.debug("Received WebSocket message: %s", data.toString()); try { const response: PluginTaskResponse = JSON.parse(data.toString()); this.handlePluginTaskResponse(response); } catch (error) { - this.logger.error(error, "Failed to parse WebSocket message"); + this.logger.error(error, "Failure while processing WebSocket message"); } });