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")