diff --git a/server/main.go b/server/main.go index fbe78c2a..463c3279 100644 --- a/server/main.go +++ b/server/main.go @@ -161,7 +161,9 @@ func main() { // - logrus to func setupTelemetry() { environment := "development" + log.SetLevel(log.TraceLevel) if env.IsProd() { + log.SetLevel(log.InfoLevel) environment = "production" log.SetFormatter(&log.JSONFormatter{}) // simpler to query but harder to parse in the console }