I'm setting up a new web app to log via Application Insights. I've installed AI, and am seeing all the expected telemetry (server requests, failed requests, etc.) but not logging sent through ILogger. I've looked through all the similar questions I could find on SO, but none resolved my issue.
I'm using .NET 5 and version 2.17.0 (latest stable) of the Microsoft.ApplicationInsights.AspNetCore nuget package. The connection string and instrumentation key appear correct. I've tried turning on developer mode in TelemetryConfiguration. I'm attempting a log of every level and my code is functionally identical to all the examples I've found.
I set the default LogLevel for ApplicationInsights to "Trace":
The Output window in VS shows that when I log, trace telemetry is being sent:
Yet I don't see any logging in Application Insights! I'm absolutely stumped. Any assistance on unraveling this problem would be much appreciated. Thank you!