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

JSON output to stdout #1485

Open
scotty3005 opened this issue Nov 12, 2024 · 3 comments
Open

JSON output to stdout #1485

scotty3005 opened this issue Nov 12, 2024 · 3 comments

Comments

@scotty3005
Copy link

Hi, is there a way to avoid printing anything but what produced by reporting nodes to stdout?
We would need to have on stdout only JSON formatted ouput for logging purposes, and we're thinking to use reporting nodes for that. However ever it seems not possible to mute all others ginkgo outputs. Thanks

@onsi
Copy link
Owner

onsi commented Nov 14, 2024

hey - that is not currently supported. it would not be too hard to add a -mute option or something. if you’re interested in submitting a PR I can show you were to make adjustments.

@scotty3005
Copy link
Author

Hi I would be happy to contribute if I'll have some time. Please show me where can I add the changes. Thanks!

@onsi
Copy link
Owner

onsi commented Nov 24, 2024

hey there, sure thing. i'm not 100% confident this is all you need to do. But a rough outline:

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

2 participants