mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-16 20:10:59 +01:00
remove requestid, nonsense in our context
This commit is contained in:
committed by
T.v.Dein
parent
e392aa924f
commit
41d9bd6e07
@@ -21,7 +21,6 @@ import (
|
||||
"github.com/gofiber/fiber/v2/middleware/compress"
|
||||
"github.com/gofiber/fiber/v2/middleware/cors"
|
||||
"github.com/gofiber/fiber/v2/middleware/logger"
|
||||
"github.com/gofiber/fiber/v2/middleware/requestid"
|
||||
"github.com/tlinden/anydb/cfg"
|
||||
)
|
||||
|
||||
@@ -78,10 +77,8 @@ func SetupServer(conf *cfg.Config) *fiber.App {
|
||||
AppName: "anydb",
|
||||
})
|
||||
|
||||
router.Use(requestid.New())
|
||||
|
||||
router.Use(logger.New(logger.Config{
|
||||
Format: "${pid} ${locals:requestid} ${status} - ${method} ${path}\n",
|
||||
Format: "${pid} ${ip}:${port} ${status} - ${method} ${path}\n",
|
||||
DisableColors: true,
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user