取消 response 日志

This commit is contained in:
lwl0608 2024-05-06 10:29:35 +08:00
parent 75e55323b0
commit d34f30c8b2
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func LoggerMiddleware(conf gin.LoggerConfig) gin.HandlerFunc {
bodyStr = string(body.([]byte))
}
logger.Info("%s params: %s", formatter(param), bodyStr)
logger.Info("%s response: %s", formatter(param), blw.body.String())
//logger.Info("%s response: %s", formatter(param), blw.body.String())
//logger.WithCtx(c.Request.Context()).Info("%s params: %s", formatter(param), bodyStr)
//if accessConf.LogResponseEnabled {