Skip to content

Have "user-friendly" logging only local.

Daniël Franke requested to merge feature/pure-json-logging-on-dev into main

The default development logging of zap is nice for development, but it's not particularly loki-friendly. This patch makes a special development logging configuration that is essentially identical to production, but does log debug level events.

This mode is only enabled if it's detected that we are running in our container, and we're running in development mode. If we're not running in our container, we'll go back to user-friendly logging.

Merge request reports