Open mvolkmann opened 5 years ago
@mvolkmann please see here https://github.com/gin-gonic/gin/blob/master/gin.go#L154, because you are using gin.Default()
and it only is debug
mode log, it don't appear on release
mode.
The warning makes it seem like I did something wrong and that I should investigate and fix it. If this is the expected behavior when using gin.Default()
, wouldn’t it be better to be silent about that?
@thinkerou are you able to confirm that this warning
is more an info
log message? i.e. there's no harm in creating an engine instance with the logger and recovery middleware attached
Description
Why is this output every time I start a gin server?
I'm not doing anything explicitly with those middleware, so it must be part of what gin does by default.