Skip to content

Conversation

juampiOrlandoTN
Copy link

@juampiOrlandoTN juampiOrlandoTN commented Jun 4, 2024

This PR adds a new option logResponsePayload that, when true, adds the response returned value (Hapi request.response.source - Docs ) as responsePayload to the response event log.

Please, note that this information is not present at the NodeJS res object that nowadays is being logged.
This is useful when we want to track the returned response of our server

@juampiOrlandoTN juampiOrlandoTN changed the title add logReturnedValue option to log response returned value add logResponsePayload option to log response returned value Jun 5, 2024
@Matthew-Kanderka
Copy link

I need this fix for my project as well. Thanks for the change

@matthewKanderka
Copy link

I need this for my project too

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

Successfully merging this pull request may close these issues.

3 participants