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

[Improvement]: --quiet flag for local runs #1602

Open
jonaro00 opened this issue Jan 31, 2024 · 5 comments
Open

[Improvement]: --quiet flag for local runs #1602

jonaro00 opened this issue Jan 31, 2024 · 5 comments
Assignees
Labels
Contribution Wanted The community is welcome to collaborate on this issue Good First Issue Good for newcomers S-Accepted This will be worked on T-Improvement Improvement or addition to existing features

Comments

@jonaro00
Copy link
Member

jonaro00 commented Jan 31, 2024

Describe the improvement

When starting a local run, there are lots of printouts from both cargo-shuttle and the runtime's startup logic.

A -q / --quiet flag can be added to the run command, that supresses non-error prints in cargo-shuttle. The flag can also be passed on as --quiet to the runtime binary, where it can also be used to supress the lines that are usually printed (the ones that show up with [Runtime] prepended).

A solution that puts the relevant prints inside if-statements should be sufficient.


This issue is open to contribution. Comment if you want to work on it. Feel free to ask for help and guidance here or in our Discord.

@jonaro00 jonaro00 added T-Improvement Improvement or addition to existing features Good First Issue Good for newcomers Contribution Wanted The community is welcome to collaborate on this issue S-Accepted This will be worked on labels Jan 31, 2024
@dhruvdabhi101
Copy link
Contributor

I would like to try this : )

@ccmvn
Copy link

ccmvn commented Feb 12, 2024

I would like to have this feature too, nice idea!

@jonaro00
Copy link
Member Author

@ccmvn Feel free to attempt solving it if you want to :)

@ccmvn
Copy link

ccmvn commented Feb 12, 2024

@ccmvn Feel free to attempt solving it if you want to :)

Unfortunately I'm too busy with my own projects, but it's a cool thing and I would appreciate it if someone else from the community could implement it, because it makes the console cleaner and you don't always need the information that is displayed there

@sourabpramanik
Copy link
Contributor

@jonaro00 this issue is still active? Can I look into this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution Wanted The community is welcome to collaborate on this issue Good First Issue Good for newcomers S-Accepted This will be worked on T-Improvement Improvement or addition to existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants