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

Logging to stderr instead of stdout ? #398

Open
ptbrowne opened this issue Jan 16, 2019 · 0 comments
Open

Logging to stderr instead of stdout ? #398

ptbrowne opened this issue Jan 16, 2019 · 0 comments
Labels

Comments

@ptbrowne
Copy link
Contributor

Logging to stdout is inconvenient when you pipe the output of your program.

I think it could be good to be able to instantiate a logger that outputs to stderr.

The stack does not seem to scan stderr unfortunately, but it can be a first step. https://github.com/cozy/cozy-stack/blob/e0e3a49b01d2d7824b7eb5651300fb1bc4c0f985/pkg/workers/exec/common.go#L104

@doubleface doubleface added the low label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants