Skip to content

Commit

Permalink
Rename LogBlockProducerLevelFlag to LogBabeLevelFlag
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Nov 10, 2021
1 parent e4079a8 commit 895d2ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/gossamer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func setLogConfig(flagsKVStore stringKVStore, cfg *ctoml.Config, globalCfg *dot.
},
{
name: "block producer",
flagName: LogBlockProducerLevelFlag.Name,
flagName: LogBabeLevelFlag.Name,
tomlValue: cfg.Log.BlockProducerLvl,
levelPtr: &logCfg.BlockProducerLvl,
},
Expand Down
6 changes: 3 additions & 3 deletions cmd/gossamer/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ var (
Usage: "Runtime package log level. Supports levels crit (silent), eror, warn, info, dbug and trce (trace)",
Value: LogFlag.Value,
}
LogBlockProducerLevelFlag = cli.StringFlag{
LogBabeLevelFlag = cli.StringFlag{
Name: "log-babe",
Usage: "Block producer package log level. Supports levels crit (silent), eror, warn, info, dbug and trce (trace)",
Usage: "BABE package log level. Supports levels crit (silent), eror, warn, info, dbug and trce (trace)",
Value: LogFlag.Value,
}
LogGrandpaLevelFlag = cli.StringFlag{
Expand Down Expand Up @@ -389,7 +389,7 @@ var (
LogRPCLevelFlag,
LogStateLevelFlag,
LogRuntimeLevelFlag,
LogBlockProducerLevelFlag,
LogBabeLevelFlag,
LogGrandpaLevelFlag,
NameFlag,
ChainFlag,
Expand Down

0 comments on commit 895d2ba

Please sign in to comment.