From 5559145f65e2ac8e4a0631c54ee776fb8756f57f Mon Sep 17 00:00:00 2001 From: pupilcc Date: Wed, 10 Jan 2024 20:12:12 +0800 Subject: [PATCH] feat: logger error level --- middleware/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/logger.go b/middleware/logger.go index 405c2fa..a8ea4e9 100644 --- a/middleware/logger.go +++ b/middleware/logger.go @@ -57,7 +57,7 @@ func GetLogger() *zap.Logger { } atomicLevel := zap.NewAtomicLevel() - atomicLevel.SetLevel(zap.InfoLevel) + atomicLevel.SetLevel(zap.ErrorLevel) config := zap.Config{ Level: atomicLevel,