From 447e04cb8e09b9ffe7504d1e19e395b930d7bc6a Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Thu, 5 Oct 2023 16:22:42 -0400 Subject: [PATCH] Add log message on restart --- app/classes/shared/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 8bc31a52..7febadea 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -862,6 +862,9 @@ class ServerInstance: if not self.check_running(): self.run_threaded_server(user_id) else: + logger.info( + f"Restart command detected. Sending stop command to {self.server_id}." + ) self.stop_threaded_server() time.sleep(2) self.run_threaded_server(user_id)