-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set LOG_LEVEL not work #114
Comments
Any update on this issue ? Even I am also facing issue. |
@Sayed-Imran, I think no update. I built a private build with the code change for my test. |
What all steps did you perform in order to get the desired @celiawa ? |
I just clone the code and changed this line in common/settings.go And run "docker build -t oidc-authservice:v1 ." to build the private docker image, and deploy with the private image. |
Is this a bug report or feature request?
Describe the bug
Couldn't change the log level via LOG_LEVEL env.
Seems the code in this line, missing envconfig:"LOG_LEVEL", so it couldn't get the config value.
How to Reproduce
Steps to reproduce the behavior:
Set LOG_LEVEL to ERROR or DEBUG via "kubectl -n istio-system edit cm oidc-authservice-parameters".
Confirm the env in the authservice-0 pod.
~ $ env |grep LOG LOG_LEVEL=ERROR
Still the info level log printed.
Expected behavior
The log level changed accordingly.
Environment:
The text was updated successfully, but these errors were encountered: