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

CakeReportPrinter should be disabled in Verbosity = Quiet #2101

Open
Gargony opened this issue Mar 26, 2018 · 8 comments · May be fixed by #4148
Open

CakeReportPrinter should be disabled in Verbosity = Quiet #2101

Gargony opened this issue Mar 26, 2018 · 8 comments · May be fixed by #4148
Assignees

Comments

@Gargony
Copy link

Gargony commented Mar 26, 2018

I expect no extra lines from cake-build in Verbosity Quiet mode.

@patriksvensson
Copy link
Member

@Gargony I would disagree. Setting the verbosity to quiet, simply tells the logger to only output warnings and errors. The report however I think is something that you usually want to see when a build finished even if you want to remove clutter from the log.

We could however introduce a --no-report argument to Cake, to tell Cake not to show this.

@Gargony
Copy link
Author

Gargony commented Mar 27, 2018

Thank you for your proposal.
Ok, argument approach also cover my expectations. But in my practices with other command line tools, verbosity applied to all output information (e.g. MSBuild).

@tapika
Copy link

tapika commented Mar 28, 2023

Any progress on this one ?

@augustoproiete
Copy link
Member

@tapika No one working on this one at the moment. PR would be welcome

@deniszykov
Copy link

This is kinda bug, not a "feature request".

Unswitchable printing into stdout and cluttering the output is undesired behavior.

@augustoproiete
Copy link
Member

@deniszykov Are you sending a PR for this one?

@augustoproiete
Copy link
Member

Possible workaround in the meantime:

dotnet cake >/dev/null 2>&1

Should suppress all output.

@deniszykov
Copy link

deniszykov commented Apr 14, 2023

Sure why not, but it will be straight and simple - verbosity Quiet = no logging output.

dotnet cake >/dev/null 2>&1

Also suppress desired output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants