openverse-frontend icon indicating copy to clipboard operation
openverse-frontend copied to clipboard

Add proper logging

Open sarayourfriend opened this issue 3 years ago • 0 comments

Problem

Currently, we loosely use the ~/utils/console.ts to sometimes log things, though not always in the most informational way. We also do not include useful debug information like a request ID, timestamps or standard formatting.

Description

Using winston, bunyan or some other popular NodeJS logging library, enable JSON formatted logs with request IDs and try to clean up the existing logging a bit as well.

Implementation

  • [ ] 🙋 I would be interested in implementing this feature.

sarayourfriend avatar Jul 25 '22 16:07 sarayourfriend