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

Print dgoss info/error to stderr #291

Merged
merged 1 commit into from Sep 21, 2017
Merged

Print dgoss info/error to stderr #291

merged 1 commit into from Sep 21, 2017

Conversation

aelindeman
Copy link
Contributor

When using a different formatter (like json or junit), having the dgoss debug messages print to stdout along with the actual goss test result output is annoying when redirecting the output to a file, e.g. dgoss run my-container > results.json. This simply changes the echo functions to print to stderr instead.

@aelsabbahy
Copy link
Member

Makes sense.

Thanks for the contribution!

@aelsabbahy aelsabbahy merged commit 4f1f0e4 into goss-org:master Sep 21, 2017
@shreyasgune
Copy link

Woohoo!

@aelindeman aelindeman deleted the dgoss-stderr branch September 21, 2017 18:03
BenjaminHerbert pushed a commit to BenjaminHerbert/goss that referenced this pull request May 28, 2020
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

Successfully merging this pull request may close these issues.

None yet

3 participants