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
To ease debugging an unique ID should be added to each line logged in the request context no matter how deep in the stack.
The problem is that Node.JS being async, it is quite a difficult to carry on the id between context switches. It does not make sense to pass req object or the id to each function call either.
tiblu
changed the title
Logging - unique ID to each log line wherever the line is logged
Logging - unique request ID to each log line wherever the line is logged
Nov 6, 2018
Triage 37. Still relevant issue, but not with high priority. Needs investigation though, to check if it´s not outdated. Approx. investigation + dev. time 1 day. sending to To do.
Overview
To ease debugging an unique ID should be added to each line logged in the request context no matter how deep in the stack.
The problem is that Node.JS being async, it is quite a difficult to carry on the id between context switches. It does not make sense to pass
req
object or theid
to each function call either.Possible solutions
Outdated:
TODO
The text was updated successfully, but these errors were encountered: