You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the BuildCheckLoggerConnector relies on pre-existing build events forwarding functionality. This works since CentralForwardingLogger is being used for unrecognized loggers - which forwards all the events, plus sets the MinimumRequiredMessageImportance to Low (on additional msbuild nodes)
It however might lead to over-excessive emiting and trnsmission of events, which might have negative impact on perf.
Need to investigate
What is the perf impact of using the CentralForwardingLogger vs the ConfigurableForwardingLogger with couple basic events - as is being requested by the console log or terminal logger (
) as a stop gap - that will ensure all events are transfered, while MessageImportance.Low messages are not emitted nor transfered from the Tasks
Can we influence the forwarding even during the build? Currently those seem to be set prior the build starts. But we'll discover the opt-ins, configurations and custom analyzers only during the evaluation of individual projects
Context
Currently the BuildCheckLoggerConnector relies on pre-existing build events forwarding functionality. This works since
CentralForwardingLogger
is being used for unrecognized loggers - which forwards all the events, plus sets theMinimumRequiredMessageImportance
to Low (on additional msbuild nodes)It however might lead to over-excessive emiting and trnsmission of events, which might have negative impact on perf.
Need to investigate
CentralForwardingLogger
vs theConfigurableForwardingLogger
with couple basic events - as is being requested by the console log or terminal logger (msbuild/src/MSBuild/XMake.cs
Lines 3796 to 3801 in 47ba51c
ConfigurableForwardingLogger
with enabling the all events (https://github.com/dotnet/msbuild/blob/main/src/Build/Logging/DistributedLoggers/ConfigurableForwardingLogger.cs#L402-L423)MinimumRequiredMessageImportance
to High (inmsbuild/src/Build/BackEnd/Components/Logging/LoggingService.cs
Line 1752 in 47ba51c
References
The text was updated successfully, but these errors were encountered: