Enhance logging
What file or files will be changed by the refactor
logger.js
Describe what changes will be made by the refactor
Use log4js
or pino
instead of winston
, they are more updated and have better features.
Improve how logs are done, so that metrics can be scraped more easily. This means adding more info to logs as well as splitting them up more appropriately.
Describe the benefits of the refactor Better crash handling, more performant. Easier to scrape information from.
Additional context Add any other context or screenshots about the feature request here.