You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: v3.6.0 Environment: Ubuntu 20.04, Go 1.15.6 Reproduces: always
This is not really a bug. Requests that don't match any route (404 or 405) are not logged by the logging middleware, because middleware are only executed if a route is matching.
How it occurred
Register the logging middleware
Request a non-existing URL or an existing one with the wrong HTTP method
Notice nothing is logged
Expected result:
Logging should probably log all requests, including 404 and 405.
How to reproduce
router.Middleware(log.CombinedLogMiddleware())
The text was updated successfully, but these errors were encountered:
Version: v3.6.0
Environment: Ubuntu 20.04, Go 1.15.6
Reproduces: always
This is not really a bug. Requests that don't match any route (404 or 405) are not logged by the logging middleware, because middleware are only executed if a route is matching.
How it occurred
Expected result:
Logging should probably log all requests, including 404 and 405.
How to reproduce
The text was updated successfully, but these errors were encountered: