Skip to content

Only push output device messages to Test Explorer, don't push logs - #4178

Merged
Amaury Levé (Evangelink) merged 32 commits into
microsoft:mainfrom
Youssef1313:logging-improvements
Dec 4, 2024
Merged

Amaury Levé (Evangelink) merged 32 commits into
microsoft:mainfrom
Youssef1313:logging-improvements

Conversation

@Youssef1313

@Youssef1313 Youssef Fahmy (Youssef1313) commented Nov 27, 2024 •

Copy link
Copy Markdown
Member

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.

Fixes #4213

Linked to AB#2275339

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.

@Evangelink Amaury Levé (Evangelink) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a test where we have a fake adapter that emits the various messages and check we catch them with the right level.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need another round of analysis on this one

@microsoft-github-policy-service microsoft-github-policy-service Bot added the area/localization Localized resources / xlf. label Dec 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service Bot added Area: Server Mode area/mtp Microsoft.Testing.Platform core library. labels Dec 2, 2024

@Evangelink Amaury Levé (Evangelink) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits and questions but LGTM.

Thanks for the massive work here Youssef Fahmy (@Youssef1313)! And thanks Marco Rossignoli (@MarcoRossignoli) for technical consulting <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/localization Localized resources / xlf. area/mtp Microsoft.Testing.Platform core library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output messages should be forward to clients instead of logs (server mode)

3 participants