Skip to content

Commit

Permalink
add comment about CometBFT Trace flag
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Nov 15, 2023
1 parent 5570800 commit b5e39d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ func CreateSDKLogger(ctx *Context, out io.Writer) (log.Logger, error) {
}
opts = append(opts,
log.ColorOption(ctx.Viper.GetBool(flags.FlagLogColored)),
log.TraceOption(ctx.Viper.GetBool("trace"))) // cmtcli.TraceFlag
// CometBFT flag (cmtcli.TraceFlag) for trace logging.
log.TraceOption(ctx.Viper.GetBool(FlagTrace)))

// check and set filter level or keys for the logger if any
logLvlStr := ctx.Viper.GetString(flags.FlagLogLevel)
Expand Down

0 comments on commit b5e39d5

Please sign in to comment.