Skip to content

Commit

Permalink
Switch LogFormat to Plain by default (#8131)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Kunze <[email protected]>
  • Loading branch information
amaury1093 and fedekunze authored Dec 10, 2020
1 parent 521380a commit eb71698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func Execute(rootCmd *cobra.Command) error {
ctx = context.WithValue(ctx, server.ServerContextKey, srvCtx)

rootCmd.PersistentFlags().String(flags.FlagLogLevel, zerolog.InfoLevel.String(), "The logging level (trace|debug|info|warn|error|fatal|panic)")
rootCmd.PersistentFlags().String(flags.FlagLogFormat, tmcfg.LogFormatJSON, "The logging format (json|plain)")
rootCmd.PersistentFlags().String(flags.FlagLogFormat, tmcfg.LogFormatPlain, "The logging format (json|plain)")

executor := tmcli.PrepareBaseCmd(rootCmd, "", simapp.DefaultNodeHome)
return executor.ExecuteContext(ctx)
Expand Down

0 comments on commit eb71698

Please sign in to comment.