There is a HealthCheck controller with GET resource in our ASP.net core app that simply returns 200 - OK. This resource is called every 5 seconds which spams our log files. We are using Log4net.
How can I exclude specific controller/resource from logging?
EDIT: The log entries come from Microsoft.AspNetCore.* namespace, they are the informations about request starting/finishing/route matching/etc. I'd like to turn these off for single controller only.