这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@grglnd

Description

@grglnd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions