gin-logrus
gin-logrus copied to clipboard
gin-logrus doesn't replace logs, just adds new ones
I'm getting all the standard GIN logs mixed in with the Logrus ones, following the example.
You use gin.Default() non ? https://github.com/gin-gonic/gin/blob/master/gin.go#L150
use gin.New() don't use gin.Default()
@Yugloocamai Can you update if that worked so that the issue can be closed ?
I had the same problem and I can confirm that gin.New() instead of gin.Default() fix the issue