diff --git a/router/router.go b/router/router.go index e6f3544..c583016 100644 --- a/router/router.go +++ b/router/router.go @@ -14,7 +14,7 @@ import ( func New(assertions tinyssert.Assertions, log *slog.Logger, dev bool) http.Handler { r := smalltrip.NewRouter(smalltrip.WithAssertions(assertions), smalltrip.WithLogger(log.WithGroup("smalltrip"))) - r.Use(middleware.Logger(log.WithGroup("routes"))) + r.Use(middleware.Logger(log.WithGroup("requests"))) if dev { log.Debug("Development mode activated, using development middleware") r.Use(middleware.Dev)