glog icon indicating copy to clipboard operation
glog copied to clipboard

Cannot pass `stderrthreshold` as environment variable

Open daravi opened this issue 5 years ago • 2 comments

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.

daravi avatar Jun 15 '20 18:06 daravi

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

yumais2 avatar Jun 17 '22 22:06 yumais2

Same issue here.

jstiefel avatar Oct 13 '22 13:10 jstiefel

same issue here

gouchaoer avatar Dec 02 '22 07:12 gouchaoer