AspNetCore.Docs/aspnetcore/includes/localization/unsupported-culture-log-lev...

2 lines
404 B
Markdown
Raw Normal View History

> [!NOTE]
> Prior to ASP.NET Core 3.0 web apps write one log of type `LogLevel.Warning` per request if the requested culture is unsupported. Logging one `LogLevel.Warning` per request is can make large log files with redundant information. This behavior has been changed in ASP.NET 3.0. The `RequestLocalizationMiddleware` writes a log of type `LogLevel.Debug`, which reduces the size of production logs.