From 3689a084d1d861e4f4a140193f3ee64ecdf07377 Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Thu, 11 Dec 2025 11:24:59 +0100 Subject: [PATCH] IA logging --- src/Console/Commands/StartServer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Console/Commands/StartServer.php b/src/Console/Commands/StartServer.php index f34c3bf..cf756ce 100644 --- a/src/Console/Commands/StartServer.php +++ b/src/Console/Commands/StartServer.php @@ -186,6 +186,10 @@ class StartServer extends Command $this->loop->addPeriodicTimer(10, function () { if ($this->getLastRestart() !== $this->lastRestart) { + \Log::channel('websocket')->info('Restart detected, triggering soft shutdown...', [ + 'previous_restart' => $this->lastRestart, + 'current_restart' => $this->getLastRestart(), + ]); $this->triggerSoftShutdown(); } });