diff --git a/internal/api/web/middleware/log.go b/internal/api/web/middleware/log.go index d03544d..3062e24 100644 --- a/internal/api/web/middleware/log.go +++ b/internal/api/web/middleware/log.go @@ -13,13 +13,6 @@ import ( func SetupLogger(zapLog *zap.SugaredLogger) gin.HandlerFunc { gin.DefaultWriter = log.AsWriter(zapLog, zap.DebugLevel) gin.DefaultErrorWriter = log.AsWriter(zapLog, zap.ErrorLevel) - gin.DebugPrintRouteFunc = func(httpMethod, absolutePath, handlerName string, nuHandlers int) { - zapLog.Debugw("route", - "method", httpMethod, - "path", absolutePath, - "handler", handlerName, - "handlerNum", nuHandlers) - } return func(c *gin.Context) { start := time.Now()