From 684c9d6d48bc1312f1cca7fe4761ff343e4ef654 Mon Sep 17 00:00:00 2001 From: arzumify Date: Thu, 14 Nov 2024 19:52:57 +0000 Subject: [PATCH] Cleaned up the logging Signed-off-by: arzumify --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index a5bfde4..90fddb9 100644 --- a/main.go +++ b/main.go @@ -1106,8 +1106,8 @@ func main() { iterateThroughSubdomains(globalOutbox) // Start the servers + slog.Info("Starting servers") for port, router := range portRouters { - slog.Info("Starting server on port " + port) if !router.HTTPSEnabled() { go func() { // Start the HTTP server @@ -1134,6 +1134,8 @@ func main() { } } + slog.Info("Servers started. Fulgens is now running. Press Ctrl+C to stop the server.") + // Wait for a signal to stop the server signalChannel := make(chan os.Signal, 1) signal.Notify(signalChannel, os.Interrupt, syscall.SIGTERM)