Ensure Rails structured logs are captured in production
NOTE: This will be accomplished as part of the work in Add structured logging and some cleanup (!119146 - merged), with our switch to track_exception
where appropriate.
As a part of Switch all remote_dev branch log statements to ... (#408783 - closed) we make sure that all Remote Development logs are outputted in JSON format.
Following that, we need to make sure that any warning and error logs end up in the production kibana https://log.gprd.gitlab.net. NOTE: This has been pulled out to a separate issue: Ensure production logs show up in kibana (#409620 - closed)
For more context see this slack thread (internal link) https://gitlab.slack.com/archives/C8HG8D9MY/p1682429917988189
Edited by Chad Woolley