[Bug] GF_LOG_LEVEL environment variables is not respected #6978

Starefossen opened this Issue Dec 15, 2016 · 1 comment


None yet

2 participants

Starefossen commented Dec 15, 2016 edited

Setting the GF_LOG_LEVEL environment variable to any of the allowed values is not respected by the logger:

2016-12-15T12:28:16.106330852Z t=2016-12-15T12:28:16+0000 lvl=info msg="Config overriden from Environment variable" logger=settings var="GF_LOG_LEVEL=error"
2016-12-15T12:28:16.106342786Z t=2016-12-15T12:28:16+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
2016-12-15T12:28:16.106346537Z t=2016-12-15T12:28:16+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana
2016-12-15T12:28:16.106350265Z t=2016-12-15T12:28:16+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
2016-12-15T12:28:16.106364231Z t=2016-12-15T12:28:16+0000 lvl=info msg="Path Plugins" logger=settings path=/var/log/grafana/plugins
2016-12-15T12:28:16.106368606Z t=2016-12-15T12:28:16+0000 lvl=info msg="Initializing DB" logger=sqlstore dbtype=sqlite3
2016-12-15T12:28:16.106569890Z t=2016-12-15T12:28:16+0000 lvl=info msg="Starting DB migration" logger=migrator
2016-12-15T12:28:16.115663491Z t=2016-12-15T12:28:16+0000 lvl=info msg="Executing migration" logger=migrator id="copy data account to org"
@torkelo torkelo added the type: bug label Dec 15, 2016
@torkelo torkelo added this to the 4.0.3 milestone Dec 15, 2016
torkelo commented Dec 15, 2016

thanks for reporting this. Fixed in master and 4.0.x branch

@torkelo torkelo closed this Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment