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

Ability to disable log spam #875

Closed
samtrion opened this issue Apr 24, 2023 · 1 comment · Fixed by #909
Closed

Ability to disable log spam #875

samtrion opened this issue Apr 24, 2023 · 1 comment · Fixed by #909

Comments

@samtrion
Copy link
Contributor

We are currently working on a solution with several dozen projects, where our logs are bloated with the following repetitive lines during the build process.

Total time:                                                                         4413ms
Total files:                                                                         145  
Files that were not formatted:                                                         0  
Total time:                                                                          507ms
Total files:                                                                           0  
Files that were not formatted:                                                         0  

Can these be disabled?

@belav
Copy link
Owner

belav commented Apr 26, 2023

There isn't currently a way to adjust the logging level but I can look at adding a way to disable/configure the level of logging.

One option for now would be to switch to running csharpier using the CLI outside of the build process. That would also cut down on the time it takes CSharpier to run, there is some initial overhead starting up the process, running it against the full solution you only get that overhead once.

@belav belav added type:enhancement New feature or request priority:medium labels Apr 26, 2023
@belav belav added this to the 0.25.0 milestone May 4, 2023
shocklateboy92 pushed a commit that referenced this issue Jun 12, 2023
* WIP of starting to support log levels and cleaning up logging

closes #875

* Self code review

* Fixing tests

* Adding easy option to csharpier.msbuild for loglevel

* Get check formatting to pass

* more self review
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.

2 participants