From 91cc68efe7219626df9d316f6d2cdf44d9c53144 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Thu, 26 Jun 2025 22:42:03 +0100 Subject: [PATCH] Log to stdout --- cmd/server/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/server/main.go b/cmd/server/main.go index f398b78..8435b13 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -5,6 +5,7 @@ import ( "log" "net" "net/http" + "os" "forgejo.gwairfelin.com/max/gonotes/internal/conf" "forgejo.gwairfelin.com/max/gonotes/internal/notes/views" @@ -18,6 +19,8 @@ func main() { conf.LoadConfig(confFile) + log.SetOutput(os.Stdout) + router := http.NewServeMux() notesRouter := views.GetRoutes("/notes")