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
New Event for request.log #2048
Comments
What you are asking is to turn off the internal logging events? |
No I want
Currently there isn't a clean way to capture "request" events that originate from |
Everything calls |
Yeah it would be nice to not have to rely on tags to figure out the user ones... what about leaving |
For my own logging, I've been checking for the 'hapi' tag in request log events and assuming those are internal and filtering them out.. It's not perfect, but it's done most of the job. That said, having a different event would be super useful rather than relying on filtering based on random assumptions made about internal messages. |
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
I think we should change the event that is emitted from
request.log()
. Currently, "request" is emitted multiple times per request so if your client is only interested in the call tolog
, they need to do some filtering.Maybe "requestlog" or something.
Relates to hapijs/good#190
The text was updated successfully, but these errors were encountered: