Skip to content
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

Debug logging is enabled when logLevel is set to info #255

Closed
grglnd opened this issue Apr 28, 2020 · 1 comment
Closed

Debug logging is enabled when logLevel is set to info #255

grglnd opened this issue Apr 28, 2020 · 1 comment
Labels

Comments

@grglnd
Copy link

grglnd commented Apr 28, 2020

Running vouch-proxy in Docker using the latest image built 2020-04-23T22:16:45.871740867Z.

When setting the vouch.logLevel to info, the process logs at a debug level. If vouch.logLevel is set to warn, the process correctly sets the log level to warn.

I've tried overriding the config by passing the level on the cmd line, which results in the same behavior, for example:

The following will log at a debug level:

docker run -p 9090:9090 --name vouch-proxy -v /etc/vouch.yml:/config/config.yml voucher/vouch-proxy -loglevel info

while the following logs at a warn level:

docker run -p 9090:9090 --name vouch-proxy -v /etc/vouch.yml:/config/config.yml voucher/vouch-proxy -loglevel warn

@bnfinet bnfinet added the bug label Apr 28, 2020
@bnfinet
Copy link
Member

bnfinet commented Apr 28, 2020

@grglnd thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants