fix: reduce log verbosity
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
72bd5960a7
commit
a99b9513be
@ -29,8 +29,10 @@ func (f *Format) Configure() {
|
|||||||
log.SetReportTimestamp(false)
|
log.SetReportTimestamp(false)
|
||||||
|
|
||||||
if f.Verbosity == 0 {
|
if f.Verbosity == 0 {
|
||||||
|
log.SetLevel(log.WarnLevel)
|
||||||
|
} else if f.Verbosity == 1 {
|
||||||
log.SetLevel(log.InfoLevel)
|
log.SetLevel(log.InfoLevel)
|
||||||
} else if f.Verbosity > 0 {
|
} else if f.Verbosity > 1 {
|
||||||
log.SetLevel(log.DebugLevel)
|
log.SetLevel(log.DebugLevel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user