Closed
Description
Describe the bug
When the RequestLocalizationMiddleware detects an unsupported language, it logs at the warning level.
To Reproduce
Steps to reproduce the behavior:
- Using this version of ASP.NET Core 2.1
- Setup the localization as documented.
- Set the culture/uiculture values to something that isn't added supported collections.
- Observe warning error messages. See: RequestCultureProviderLoggerExtensions.cs
Expected behavior
This seems a bit severe given that this value is passed by the client, for instance if Spanish is requested but only French is specified, every requests gets 1 or more warnings.
Perhaps make this configurable and/or reduce it to a debug level.