Skip to content

Commit

Permalink
Fix: setting LOG_LEVEL from env var
Browse files Browse the repository at this point in the history
  • Loading branch information
alekc authored Apr 12, 2024
1 parent 0c4ea9a commit 16182fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Config struct {
AfterLoginURL *url.URL `split_words:"true"`
AfterLogoutURL *url.URL `split_words:"true"`
VerifyAuthURL *url.URL `split_words:"true"`
LogLevel string `split_words:"true" default:"INFO"`
LogLevel string `split_words:"true" default:"INFO" envconfig:"LOG_LEVEL"`

// Identity Headers
UserIDHeader string `split_words:"true" default:"kubeflow-userid" envconfig:"USERID_HEADER"`
Expand Down

0 comments on commit 16182fe

Please sign in to comment.