CodeWithAsheville / court-notifications

GNU General Public License v3.0
11 stars 10 forks source link

Added a new logging framework #107

Closed ejaxon closed 2 years ago

ejaxon commented 2 years ago

This uses the same setup as the Anchorage Courtbot. We're using Winston as the logging framework and Rollbar to collect error-level logging.

logger.debug still prints via the console. logger.error does both console and Rollbar.

A new environment variable, ROLLBAR_ACCESS_TOKEN, is now required.