cagov / ui-claim-tracker

This repo contains the Claim Status Tracker app, which helps Californians better understand what’s happening with their unemployment claim and benefits.
9 stars 4 forks source link

Log a UUID for all traces in a single request/response cycle #506

Closed rocketnova closed 3 years ago

rocketnova commented 3 years ago

Description

Splitting this ticket out of #432.

Right now, we have a lot of log entries related to a single request, but no way to associate them with one another other than nearness in time. That isn't going to work in production. We should create a pino child logger for each request that includes a randomly generated UUID that is included with each log related to a single request.

Acceptance Criteria