Reputation: 1727
I've been using domains to add a request id
to my logs.
This is very convenient because it means I don't have to pass my request object everywhere, but I can still see the request context that a db query ran in, and I can follow the process each request goes throw regardless of which layers in my code it accessed.
Since domains are being deprecated, what are my alternatives to preserving this capability ?
Thanks
Upvotes: 4
Views: 73