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 pass stderrthreshold as environment variable #558

Closed
daravi opened this issue Jun 15, 2020 · 3 comments · Fixed by #1034
Closed

Cannot pass stderrthreshold as environment variable #558

daravi opened this issue Jun 15, 2020 · 3 comments · Fixed by #1034
Labels
Milestone

Comments

@daravi
Copy link

daravi commented Jun 15, 2020

I am able set FLAGS_stderrthreshold in code (while logtostderr and alsologtostderr are left as default) and see desired behavior. i.e. all available logs go to file and anything at or above the threshold also goes to stderr.

However when setting GLOG_stderrthreshold=<lvl> environment variable it's as if I am not setting this variable at all. It seems like for some reason this environment variable is not being correctly picked up by GLOG.

@yumais2
Copy link

yumais2 commented Jun 17, 2022

I have the same issue here. Both DLOG and LOG does not work. It seems to be stuck at level 2.

@jstiefel

This comment was marked as duplicate.

@gouchaoer

This comment was marked as duplicate.

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

Successfully merging a pull request may close this issue.

5 participants