vektor icon indicating copy to clipboard operation
vektor copied to clipboard

Allow excluding routes from request logging

Open Marton6 opened this issue 3 years ago • 1 comments

I really the simplicity of the current built-in request logging functionality, but I would like to be able to configure the server logger to only log requests on some of the paths.

Suggestion for Implementation

One way to achieve this would be to allow disabling of the default request logging so that custom logging can be implemented via middleware and afterware.

Marton6 avatar Apr 28 '21 19:04 Marton6

This makes perfect sense, thanks for the suggestion! I'll see what I can do.

cohix avatar Apr 30 '21 12:04 cohix