-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support option for ignoring paths #26
Comments
Definitely, you might want to use find-my-way to match the routes. |
related: pinojs/pino-http#40 (@mcollina - perhaps not implementation but the idea.. path ignoring) |
I need to silence our Just in case it helps someone in the future, I ended up silencing our logs with this micro hapi plugin:
|
The
In this case the comparison could be done with |
I was still struggling with this and this worked well for me in the
|
Our hapi servers export a
/healthz
it would be nice if we could omit those requests from the logs.Would you be open to a PR for this functionality?
I know another option would be to pipe to a filter but I wanted to see the appetite for this built in.
The text was updated successfully, but these errors were encountered: