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

Debugging + Logging should not print to stdout #301

Closed
geofffranks opened this issue Aug 22, 2017 · 2 comments
Closed

Debugging + Logging should not print to stdout #301

geofffranks opened this issue Aug 22, 2017 · 2 comments

Comments

@geofffranks
Copy link

Right now BOSH_LOG_LEVEL=debug bosh cloud-config (and many other bosh commands) send the debug logging to stdout, alongside the command output. It would be very nice if this could split into two streams, and use stderr for error/debug logging, and stdout for the output of the command, so that BOSH_LOG_LEVEL=debug bosh cloud-config | yaml2json | jq this.that.theother works the same as bosh cloud-config | yaml2json | jq this.that.theother

@dpb587-pivotal
Copy link
Contributor

+1

@tylerschultz
Copy link
Contributor

Change will be in upcoming version of bosh-cli:

e73a765

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

4 participants