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 can I redirect all logs to stderr? #28

Open
phamhongviet opened this issue Sep 24, 2015 · 0 comments
Open

How can I redirect all logs to stderr? #28

phamhongviet opened this issue Sep 24, 2015 · 0 comments

Comments

@phamhongviet
Copy link

Hi, I'm writing a worker that print out jobs' info to stdout. But the output get mess up with logs when the worker shutdown or cannot connect to redis.
I tried -logtostderr flag but it didn't help.
How can I redirect all logs to stderr to avoid parsing the output with filter for logs?

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

1 participant