diff --git a/main.go b/main.go index 8eb10cb..1975307 100644 --- a/main.go +++ b/main.go @@ -7,6 +7,7 @@ import ( "github.com/go-playground/validator/v10" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" + log2 "github.com/labstack/gommon/log" "gorm.io/driver/postgres" "gorm.io/gorm" "gorm.io/gorm/logger" @@ -60,5 +61,8 @@ func main() { e.GET("/health", handler.Health) + e.Debug = true + e.Logger.SetLevel(log2.DEBUG) + e.Logger.Fatal(e.Start(":" + config.Env.Server.Port)) }