From fa3ba759c4dfad9189657313f8698b0a4cd3246f Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sat, 26 Oct 2024 00:13:04 +0200 Subject: [PATCH] feat: update startup log messages - add startup message for version information - reformat log for websocket listening address --- cmd/server/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index e715843..46dc46f 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -39,7 +39,8 @@ func Start() { http.HandleFunc("/ws", websocket.HandleConnections) go websocket.SendPermanentBroadCastMessage() - log.Info("Pomodoro WebSocket server started!", "listen", listen) + log.Info("GoTomato started", "version", metadata.GoTomatoVersion) + log.Info("Websocket listening", "address", listen) err := http.ListenAndServe(listen, nil) if err != nil { log.Fatal("Error starting server:", "msg", err)