We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90b2029 commit ddb9d1fCopy full SHA for ddb9d1f
cmd/rollouts-controller/main.go
@@ -84,7 +84,7 @@ func newCommand() *cobra.Command {
84
}
85
setLogLevel(logLevel)
86
if logFormat != "" {
87
- log.SetFormatter(createFormatter(logFormat))
+ log.SetFormatter(createFormatter("json"))
88
89
logutil.SetKLogLogger(log.New())
90
logutil.SetKLogLevel(klogLevel)
test/cmd/trafficrouter-plugin-sample/main.go
@@ -23,7 +23,7 @@ func main() {
23
logCtx := log.WithFields(log.Fields{"plugin": "trafficrouter"})
24
25
setLogLevel("debug")
26
- log.SetFormatter(createFormatter("text"))
27
28
rpcPluginImp := &plugin.RpcPlugin{
29
LogCtx: logCtx,
0 commit comments