go-graphite / carbonzipper

proxy to transparently merge graphite carbon backends
Other
104 stars 29 forks source link

Better logging #36

Closed Civil closed 7 years ago

Civil commented 7 years ago

Short summary:

  1. Migrate to zap (structured logging)
  2. Move logging options to config
  3. Defined several different loggers with ability to send logs to multiple locations with different log level at the same time (e.x. human-readable to stdout and json with errors to error.log file and json with requests to access.log)