Open ecanuto opened 4 years ago
Even with GIN_MODE=release, gin still prints the full request log to console. We need to use gin.New instead of gin.Default but need to add recovery middleware since gin.Default automagically add logger and recovery middleware.
For more information:
https://github.com/gin-gonic/gin#blank-gin-without-middleware-by-default
Even with GIN_MODE=release, gin still prints the full request log to console. We need to use gin.New instead of gin.Default but need to add recovery middleware since gin.Default automagically add logger and recovery middleware.
For more information:
https://github.com/gin-gonic/gin#blank-gin-without-middleware-by-default