Skip to content

Conversation

@YuliiaKovalova
Copy link
Member

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

Copilot AI review requested due to automatic review settings August 13, 2025 11:35
Copy link
Contributor

Copilot AI left a 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.

@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/remove_SerialConsoleLogger branch from 0a5ec66 to baa4ac7 Compare August 13, 2025 13:22
@YuliiaKovalova YuliiaKovalova force-pushed the dev/ykovalova/remove_SerialConsoleLogger branch from 82391c2 to 3e7c934 Compare August 13, 2025 15:08
@YuliiaKovalova
Copy link
Member Author

@YuliiaKovalova
Copy link
Member Author

exp insertion: https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/661343

1 test failure due to changes in the spaces , other than that we are ready to proceed.

YuliiaKovalova added a commit to dotnet/sdk that referenced this pull request Aug 22, 2025
The change is related to SerialConsoleLogger deprecation: dotnet/msbuild#12336
@YuliiaKovalova YuliiaKovalova merged commit 33292d2 into main Aug 22, 2025
9 checks passed
@YuliiaKovalova YuliiaKovalova deleted the dev/ykovalova/remove_SerialConsoleLogger branch August 22, 2025 09:42
JanProvaznik pushed a commit that referenced this pull request Aug 26, 2025
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.

4 participants