From 16182fece15d791d8a8f8ac4789bab89095965d6 Mon Sep 17 00:00:00 2001 From: Alexander Chernov Date: Fri, 12 Apr 2024 13:45:59 +0100 Subject: [PATCH] Fix: setting LOG_LEVEL from env var Fixes: https://github.com/arrikto/oidc-authservice/issues/114 --- common/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/settings.go b/common/settings.go index b1844ee7..fd48b98e 100644 --- a/common/settings.go +++ b/common/settings.go @@ -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"`