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

How do I write logs to files only? #436

Closed
findingBalance opened this issue Feb 27, 2019 · 1 comment
Closed

How do I write logs to files only? #436

findingBalance opened this issue Feb 27, 2019 · 1 comment

Comments

@findingBalance
Copy link

I want to write logs to files only.I set the FLAGS_logtostderr=false,but I still found that it wrote both the file and the terminal.

How do I slove this?

Anyway, thanks first.

@serhatgiydiren
Copy link

Hi.
This flag is used to log messages to stderr instead of log files. Maybe another flag is needed for this case.
@sergiud If this issue is seen as an enhancement, i am ready to send a PR.
Thanks. Regards.

@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

3 participants