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
Moved here from the original (now private) issue tracker.
As a developer trying to debug a problem in production, I'd like a common logging prefix to be shown on all related requests across multiple servers, to help me isolate relevant log messages.
Let's say a user on example.com makes a websocket request to foo.bar. Behind the scenes, that method makes a separate request to baz.baf, which is a remote service running on example.org, so we make an websocket RPC request.
When debugging a problem, it can be tricky and annoying to link the requests on different servers to one another. Since all logging goes through sideboard.lib.log, it would be pretty easy to generate a random logging token and prepend that to our log messages. When making any outgoing request, we'd add a log_token field to the websocket JSON, which would be used if present.
The text was updated successfully, but these errors were encountered:
Moved here from the original (now private) issue tracker.
As a developer trying to debug a problem in production, I'd like a common logging prefix to be shown on all related requests across multiple servers, to help me isolate relevant log messages.
Let's say a user on
example.com
makes a websocket request tofoo.bar
. Behind the scenes, that method makes a separate request tobaz.baf
, which is a remote service running onexample.org
, so we make an websocket RPC request.When debugging a problem, it can be tricky and annoying to link the requests on different servers to one another. Since all logging goes through
sideboard.lib.log
, it would be pretty easy to generate a random logging token and prepend that to our log messages. When making any outgoing request, we'd add alog_token
field to the websocket JSON, which would be used if present.The text was updated successfully, but these errors were encountered: