Add structured logging and some cleanup
- Closes - Switch all remote_dev branch log statements to ... (#408783 - closed)
- Closes - Ensure Rails structured logs are captured in pr... (#409066 - closed)
This MR does the following
- Add a new JSON logger for Remote Development which outputs at
log/remote_development.log
- Remove all
Rails.logger
statements and replace them with the above logger - Add Sentry tracking when an exception is raised
- Comments cleanup
Testing
See logs with:
tail -f log/remote_development.log| jq
Edited by Chad Woolley