Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Oct 22, 2024
1 parent 52602cf commit 87010b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func SetupLogging(runtimeConfig *config.Config, logger *unilogger.Logger) {
strings.ToLower(LogLevel),
func(oldValue string, newValue string) error {
unilogger.Infof("Set log level to '%s'", newValue)
unilogger.SetDefaultLevel(unilogger.LogLevelFromStr(LogLevel))
unilogger.SetDefaultLevel(unilogger.LogLevelFromStr(newValue))
return nil
}, func(oldValue string, newValue string) time.Duration {
if strings.ToLower(newValue) == "debug" {
Expand Down

0 comments on commit 87010b4

Please sign in to comment.