C
C#

help

❔ ASP.NET Core ignore a specific warning by ID

AAnton11/12/2022
A library that I'm using makes Kestrel produce a warning with a specific id. Is there a way to suppress all logs with that id? I'm specifically talking about ids https://learn.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-7.0#log-event-id, not categories.
Logging in .NET Core and ASP.NET Core
Learn how to use the logging framework provided by the Microsoft.Extensions.Logging NuGet package.
AAccord11/22/2022
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Looking for more? Join the community!