Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow excluding routes from request logging #43

Open
Marton6 opened this issue Apr 28, 2021 · 1 comment
Open

Allow excluding routes from request logging #43

Marton6 opened this issue Apr 28, 2021 · 1 comment

Comments

@Marton6
Copy link

Marton6 commented Apr 28, 2021

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.

@cohix
Copy link
Collaborator

cohix commented Apr 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants