You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to easily parse logs for metrics/aggregation, we want them in JSON format. Perhaps an environment variable could be used to control the behavior as you probably don't want JSON output by default (difficult for development purposes). Seems to be pretty easy to enable it:
log.SetFormatter(&log.JSONFormatter{})
Whatever the default JSON format from logrus is probably fine for now.
Activity