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

FLAGS_logtostdout does not seem to follow FLAGS_logbuflevel #943

Open
kishorenc opened this issue Aug 28, 2023 · 2 comments
Open

FLAGS_logtostdout does not seem to follow FLAGS_logbuflevel #943

kishorenc opened this issue Aug 28, 2023 · 2 comments

Comments

@kishorenc
Copy link

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.

@git-hulk
Copy link
Contributor

git-hulk commented Aug 28, 2023

@kishorenc I would like to take a loo and try to fix it if no one is on it now.

kishorenc added a commit to typesense/typesense that referenced this issue Aug 28, 2023
This does not respect buffer levels yet: google/glog#943
@git-hulk
Copy link
Contributor

@kishorenc I guess it should cause by the stdout has the buffered but stderr is not.

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

No branches or pull requests

2 participants