glog
glog copied to clipboard
FLAGS_logtostdout does not seem to follow FLAGS_logbuflevel
The following configuration does not seem to flush logs immediately (logs are buffered and flushed periodically):
FLAGS_logtostdout = true;
FLAGS_logbuflevel = -1;
However, the following does:
FLAGS_logtostderr = true;
FLAGS_logbuflevel = -1;
Both flags should have identical behavior.
@kishorenc I would like to take a loo and try to fix it if no one is on it now.
@kishorenc I guess it should cause by the stdout has the buffered but stderr is not.