Skip to content
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

[6.0.1] Register design-time LoggerFactory as Scoped #26460

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Oct 25, 2021

Fixes #26384

Description

Log messages produced by provider-specific services invoked by the EF CLI tools are no longer displayed.

Customer impact

There isn't a practical workaround as the reporter object is not accessible by the user.

How found

Customer report on RC2.

Regression

Yes, from 5.0, introduced in #25509

Testing

This PR changes tests to use DI to add coverage for this scenario.

Risk

Low; the fix only affects design-time logging. Quirk mode not added as there isn't a practical way to access AppContext used by CLI tools.

@AndriySvyryd AndriySvyryd added this to the 6.0.x milestone Oct 25, 2021
@AndriySvyryd AndriySvyryd requested a review from a team October 25, 2021 18:40
@leecow leecow modified the milestones: 6.0.x, 6.0.1 Oct 28, 2021
@AndriySvyryd AndriySvyryd changed the title [6.0.1] Register design-time LoggerFactory as Scoped Register design-time LoggerFactory as Scoped Nov 9, 2021
@AndriySvyryd AndriySvyryd merged commit e0348cf into release/6.0 Nov 9, 2021
@AndriySvyryd AndriySvyryd deleted the Issue26384 branch November 9, 2021 21:12
@ajcvickers ajcvickers removed this from the 6.0.1 milestone Nov 17, 2021
@ajcvickers ajcvickers changed the title Register design-time LoggerFactory as Scoped [6.0.1] Register design-time LoggerFactory as Scoped Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants