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
Most of the time while designing the web application, we repeatedly log things like x-trace-id, request-id. Specific to segment's use-case WorkspaceID is also one mostly being logged.
Wouldn't that be a good idea to expose middleware like API to intercept the logger where we can add such repeatedly used attributes.
yashpokar
changed the title
Intercept frequently used arguments like trace id
Intercept frequently used attributes like trace id, workspace id
Feb 7, 2023
Most of the time while designing the web application, we repeatedly log things like
x-trace-id
,request-id
. Specific to segment's use-caseWorkspaceID
is also one mostly being logged.Wouldn't that be a good idea to expose middleware like API to intercept the logger where we can add such repeatedly used attributes.
Inspired by: morgan
The text was updated successfully, but these errors were encountered: