Skip to content

Commit

Permalink
check log level
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Jul 26, 2024
1 parent e4dc97e commit f11bf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func setupLogOutput() {
levelFlag := viper.GetString("log-level")
level, err := zerolog.ParseLevel(levelFlag)
if err != nil {
log.Error().Err(err).Msg("Invalid log level, defaulting to info")
log.Error().Err(err).Msg("Invalid log level")
}

zerolog.SetGlobalLevel(level)
Expand Down

0 comments on commit f11bf2e

Please sign in to comment.