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

exclude by route #36

Open
japel opened this issue Jun 22, 2016 · 2 comments
Open

exclude by route #36

japel opened this issue Jun 22, 2016 · 2 comments

Comments

@japel
Copy link

japel commented Jun 22, 2016

Is it possible to exclude some routes from being logged?
If so, how can this be done?

@marcbachmann
Copy link
Collaborator

Only mount the middleware on the routes where you need it.
We shouldn't do this in that library.

@advance512
Copy link

I disagree. Generally I want every route to be logged, by default. I don't want to "opt in", I want to "opt out". e.g. /ping from ELB.

Any way to do this, currently?

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

3 participants