Skip to content

[dotnet-watch] Simplify logging - #51307

Merged
tmat merged 6 commits into
dotnet:release/10.0.2xxfrom
tmat:LoggingCleanup
Dec 16, 2025
Merged

tmat merged 6 commits into
dotnet:release/10.0.2xxfrom
tmat:LoggingCleanup

Conversation

@tmat

@tmat tmat commented Oct 16, 2025

Copy link
Copy Markdown
Member

Remove MessageSererity and Verbose, Quiet flags and use LogLevel uniformly.

Default level is LogLevel.Information. --verbose flag sets LogLevel.Debug. --quiet flag sets LogLevel.Warning.

Enable turning on Trace logging level via DOTNET_CLI_CONTEXT_VERBOSE env variable for extra detailed logging that may have impact on performance (previously only reported in DEBUG builds).

Currently, dotnet-watch parses DOTNET_CLI_CONTEXT_VERBOSE env variable as a boolean value that turns on verbose logging. Add trace as an additional recognized value that sets logging level to LogLevel.Trace.

@tmat
tmat force-pushed the LoggingCleanup branch 2 times, most recently from e2b14fb to 75c3feb Compare December 7, 2025 18:57
@tmat tmat changed the title Logging cleanup Simplify logging Dec 7, 2025
@tmat tmat changed the title Simplify logging [dotnet-watch] Simplify logging Dec 7, 2025
@tmat
tmat marked this pull request as ready for review December 8, 2025 17:13
@tmat
tmat requested a review from a team as a code owner December 8, 2025 17:13
@tmat

tmat commented Dec 8, 2025

Copy link
Copy Markdown
Member Author

@DustinCampbell ptal

@tmat

tmat commented Dec 16, 2025

Copy link
Copy Markdown
Member Author

/ba-g The SSL connection could not be established, WinRT test

@tmat
tmat merged commit 5dad5f0 into dotnet:release/10.0.2xx Dec 16, 2025
22 of 26 checks passed
@tmat
tmat deleted the LoggingCleanup branch December 16, 2025 18:44
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.

2 participants