I am using App Insights. It is configured for my app service and it tracks failures, but unfortunately I can't see my ILogger.LogError logs. LoggingLevel is set to Warning.
builder.Services.AddApplicationInsightsTelemetry();
I read that App Insights should collect logs if log level set correctly but something is wrong
I have referred the code from this SO-Thread's answer and modified a bit to reproduce your issue like below:
csproj:appsettings.json:Controller.cs:Program.cs:Output: