-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Remove SerialConsoleLogger #12336
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
Remove SerialConsoleLogger #12336
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the deprecated SerialConsoleLogger from the MSBuild codebase, simplifying the logging architecture by consolidating to only use the ParallelConsoleLogger.
- Removes the SerialConsoleLogger class and all references to it
- Updates ConsoleLogger to always use ParallelConsoleLogger instead of choosing between Serial and Parallel loggers
- Removes documentation and localized text about the DisableMPLogging parameter
- Cleans up test files that were testing SerialConsoleLogger functionality
Reviewed Changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Build/Logging/SerialConsoleLogger.cs | Complete removal of the SerialConsoleLogger class (981 lines) |
| src/Build/Microsoft.Build.csproj | Removes SerialConsoleLogger.cs from the project compilation |
| src/Build/Logging/ConsoleLogger.cs | Simplifies logger initialization to always use ParallelConsoleLogger |
| src/UnitTests.Shared/EngineTestEnvironment.cs | Removes SerialConsoleLogger from test environment setup |
| src/MSBuild/XMake.cs | Removes condition checking for DisableMPLogging parameter |
| src/MSBuild/Resources/*.xlf | Removes localized documentation for DisableMPLogging parameter |
| src/Build.UnitTests/ConsoleLogger_Tests.cs | Removes all SerialConsoleLogger test cases and references |
| src/Build.UnitTests/BinaryLogger_Tests.cs | Removes SerialConsoleLogger from binary logger roundtrip tests |
| src/Build/Logging/ParallelLogger/ParallelConsoleLogger.cs | Minor formatting change (adds blank line) |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
0a5ec66 to
baa4ac7
Compare
82391c2 to
3e7c934
Compare
1 test failure due to changes in the spaces , other than that we are ready to proceed. |
The change is related to SerialConsoleLogger deprecation: dotnet/msbuild#12336
Fixes ##2447
Context
The deprecation of the logger was approved internally: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2511087?src=WorkItemMention&src-action=artifact_link
Changes Made
Remove SerialConsoleLogger from the codebase