Skip to content

Commit

Permalink
Update pkg/config/utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Osterman (CEO @ Cloud Posse) <[email protected]>
  • Loading branch information
Cerebrovinny and osterman authored Jan 20, 2025
1 parent 3560608 commit ca62fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ func processCommandLineArgs(atmosConfig *schema.AtmosConfiguration, configAndSta
}
if len(configAndStacksInfo.LogsLevel) > 0 {
if _, err := logger.ParseLogLevel(configAndStacksInfo.LogsLevel); err != nil {
return fmt.Errorf("Invalid log level '%s' specified with the --logs-level flag. Valid options are: [Trace Debug Info Warning Off]", configAndStacksInfo.LogsLevel)
return fmt.Errorf("Invalid log level '%s' specified with the --logs-level flag. Valid options are: [Trace, Debug, Info, Warning, Off]", configAndStacksInfo.LogsLevel)
}
// Only set the log level if validation passes
atmosConfig.Logs.Level = configAndStacksInfo.LogsLevel
Expand Down

0 comments on commit ca62fbd

Please sign in to comment.