Skip to content

Suggestion: Change log message "Policy execution successful" to "CORS policy execution successful" #3419

@cmeeren

Description

@cmeeren

I spent a while trying to figure out why I had so many mysterious "Policy execution successful" log messages in my app. After a good while I tracked it down to Microsoft.AspNetCore.Cors.Infrastructure.CorsService. I suggest changing the message to "CORS policy execution successful" (other similar messages from CORS might be changed similarly). This will make it clear just by looking at the logs what this message means.

Metadata

Metadata

Assignees

Labels

area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templateshelp wantedUp for grabs. We would accept a PR to help resolve this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions