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

Cannot set INFLUXDB_LOGGING_LEVEL #9530

Closed
george-angel opened this issue Mar 8, 2018 · 0 comments
Closed

Cannot set INFLUXDB_LOGGING_LEVEL #9530

george-angel opened this issue Mar 8, 2018 · 0 comments

Comments

@george-angel
Copy link

InfluxDB version: 1.5

Setting INFLUXDB_LOGGING_LEVEL=warn results in error:

run: apply env config: failed to apply INFLUXDB_LOGGING_LEVEL to Level using type zapcore.Level and value 'warn'

Which is fair enough, as its a int8 https://github.com/uber-go/zap/blob/master/zapcore/level.go#L32

But I guess the string value needs to be unmarshalled: https://github.com/uber-go/zap/blob/master/zapcore/level.go#L126 when parsing config?

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

No branches or pull requests

2 participants