Log to stdout
This commit is contained in:
parent
3623fb8e8e
commit
91cc68efe7
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"os"
|
||||||
|
|
||||||
"forgejo.gwairfelin.com/max/gonotes/internal/conf"
|
"forgejo.gwairfelin.com/max/gonotes/internal/conf"
|
||||||
"forgejo.gwairfelin.com/max/gonotes/internal/notes/views"
|
"forgejo.gwairfelin.com/max/gonotes/internal/notes/views"
|
||||||
|
|
@ -18,6 +19,8 @@ func main() {
|
||||||
|
|
||||||
conf.LoadConfig(confFile)
|
conf.LoadConfig(confFile)
|
||||||
|
|
||||||
|
log.SetOutput(os.Stdout)
|
||||||
|
|
||||||
router := http.NewServeMux()
|
router := http.NewServeMux()
|
||||||
notesRouter := views.GetRoutes("/notes")
|
notesRouter := views.GetRoutes("/notes")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue