hapijs / good

hapi process monitoring
Other
525 stars 161 forks source link

Log `request.auth` into request logs #579

Closed frankthelen closed 6 years ago

frankthelen commented 6 years ago

Hello,

I am wondering why it is not possible to have request.auth (as set by auth plug-ins such as "hapi-basic-auth" or "hapi-auth-jwt2") added to the good request logging.

In case I missed something, this is what I looked at:

I think, it makes sense to allow an option auth with both config options, includes.request and includes.response.

If you don't have time to do it, let me know, I'd be happy to contribute.

Kind regards.

frankthelen commented 6 years ago

Ok, just seen PRs #566 and #558. So, I close this one. :-)

lock[bot] commented 4 years ago

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.