|
|
|
|
|
by tail_exchange
722 days ago
|
|
Contextual logging makes structured logging even more powerful. For example, you can attach an ID to the contex of an http request when you receive it, which then gets logged in every operation that is performed for serving that request. If you are investigating what happened for a specific request, then you can just search for its ID. This works with any repeatable task and identifier, like runs of a cron job, and user ids. |
|