Skip to content

Commit

Permalink
fix: log_level command help
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Feb 8, 2023
1 parent 5bfff4d commit 4289da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cmd/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func Execute(rootCmd *cobra.Command, defaultHome string) error {
ctx = context.WithValue(ctx, client.ClientContextKey, &client.Context{})
ctx = context.WithValue(ctx, server.ServerContextKey, srvCtx)

rootCmd.PersistentFlags().String(flags.FlagLogLevel, ostcfg.DefaultPackageLogLevels(), "The logging level by modules (default. main:info,state:info,statesync:info,*:info)")
rootCmd.PersistentFlags().String(flags.FlagLogLevel, ostcfg.DefaultPackageLogLevels(), "The logging level by modules (debug|info|error|none)")
rootCmd.PersistentFlags().String(flags.FlagLogFormat, ostcfg.LogFormatPlain, "The logging format (json|plain)")

executor := ostcli.PrepareBaseCmd(rootCmd, envPrefix, defaultHome)
Expand Down

0 comments on commit 4289da8

Please sign in to comment.