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

logtostderr filtering #356

Closed
guliashvili opened this issue Aug 20, 2018 · 0 comments
Closed

logtostderr filtering #356

guliashvili opened this issue Aug 20, 2018 · 0 comments

Comments

@guliashvili
Copy link

Currently, glog supports filtering of the logs using stderrthreshold only when the logtostderr and alsologtostderr are False.

However, when logtostderr is not true, glog creates the log files, which for our use case is unnecessary, as we have the sink for writing in the file.

I propose creating either flag to disable logging in the file or stderrthreshold_forced flag, which would filter things when logtostderr is true.

I'm happy to invest some time in that and would love to hear feedback from you.

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
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