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
I use express-http-context with middleware writing log when a request coming, and store the unique id for in http context using httpContext.set('reqId', req.requestInfo.id);, and with every log using console.log or console.error, i override them to print the unique id using httpContext.get('reqId').
The problem is that I can't get the id, it is jus the blank.
Is there someone get this problem? If so, please help me to solve it. Thank you
The text was updated successfully, but these errors were encountered:
I use express-http-context with middleware writing log when a request coming, and store the unique id for in http context using
httpContext.set('reqId', req.requestInfo.id);
, and with every log using console.log or console.error, i override them to print the unique id usinghttpContext.get('reqId')
.The problem is that I can't get the id, it is jus the blank.
Is there someone get this problem? If so, please help me to solve it. Thank you
The text was updated successfully, but these errors were encountered: