Skip to content

Commit

Permalink
fix: reduce log verbosity
Browse files Browse the repository at this point in the history
Signed-off-by: Brian McGee <[email protected]>
  • Loading branch information
brianmcgee committed Feb 15, 2024
1 parent da82b80 commit cb8565d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ func (f *Format) Configure() {
log.SetReportTimestamp(false)

if f.Verbosity == 0 {
log.SetLevel(log.WarnLevel)
} else if f.Verbosity == 1 {
log.SetLevel(log.InfoLevel)
} else if f.Verbosity > 0 {
} else if f.Verbosity > 1 {
log.SetLevel(log.DebugLevel)
}
}

0 comments on commit cb8565d

Please sign in to comment.