You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to attach the route path to the log object? If not I can always place another hook on hapi to properly set the bindings before the hapi-pino on response hook is called, but that feels like a bit of a hack. If it's not supported, would it be acceptable to add either a callback for producing the object(along the lines of customRequestCompleteMessage) or with extending the object creation to support the route path?
The motivation for this is to simplify log aggregation.
The text was updated successfully, but these errors were encountered:
Runtime
node.js
Runtime version
v18.20.4
Module version
12.1.0
Used with
hapi
Any other relevant information
No response
How can we help?
Is there a way to attach the route path to the log object? If not I can always place another hook on hapi to properly set the bindings before the hapi-pino on response hook is called, but that feels like a bit of a hack. If it's not supported, would it be acceptable to add either a callback for producing the object(along the lines of
customRequestCompleteMessage
) or with extending the object creation to support the route path?The motivation for this is to simplify log aggregation.
The text was updated successfully, but these errors were encountered: