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

feat: Send all output to stderr; make -q less verbose #28

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

shivaraj-bh
Copy link
Member

resolves #27

Copy link
Member

@srid srid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I see that this PR also changes the logging behaviour, in that - nothing is logged to stdout anywhere; rather, everything goes to stderr. I suppose that's okay.

Also, -q now suppresses the initial message as well; nothing is printed on success. On failure, it prints just what failed, which is also fine I guess:

image

@srid srid changed the title feat: println -> tracing feat: Send all output to stderr Jul 12, 2024
@srid srid changed the title feat: Send all output to stderr feat: Send all output to stderr; make -q less verbose Jul 12, 2024
@srid srid merged commit 574e7c4 into juspay:main Jul 12, 2024
4 checks passed
@shivaraj-bh shivaraj-bh deleted the tracing branch July 12, 2024 06:55
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.

Use tracing crate for nix-health’s output?
2 participants