From 778d038b5a12d868f894d81a063be0648fa192aa Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Thu, 11 Dec 2025 11:23:23 +0100 Subject: [PATCH] IA logging --- src/Console/Commands/StartServer.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Console/Commands/StartServer.php b/src/Console/Commands/StartServer.php index f449bf5..f34c3bf 100644 --- a/src/Console/Commands/StartServer.php +++ b/src/Console/Commands/StartServer.php @@ -294,6 +294,11 @@ class StartServer extends Command */ protected function startServer() { + \Log::channel('websocket')->info('Starting WebSocket server...', [ + 'host' => $this->option('host'), + 'port' => $this->option('port'), + ]); + $this->components->info("Starting the WebSocket server on port {$this->option('port')}..."); $this->comment(' Press Ctrl+C to stop the server'); $this->newLine(); @@ -346,6 +351,7 @@ class StartServer extends Command */ protected function triggerSoftShutdown() { + \Log::channel('websocket')->info('Triggering soft shutdown...'); $channelManager = $this->laravel->make(ChannelManager::class); // Close the new connections allowance on this server.