diff --git a/proxy/pkg/server/api.go b/proxy/pkg/server/api.go index 4e26e561d..d8ebe6924 100644 --- a/proxy/pkg/server/api.go +++ b/proxy/pkg/server/api.go @@ -59,6 +59,7 @@ func getCommonOptions() *options.Options { } func doGlobalSetup(config map[string]interface{}) { + log.SetFormatter(&log.JSONFormatter{}) switch config[ConfigLogLevel].(string) { case "debug": log.SetLevel(log.DebugLevel)