DEV Community

garicchi
garicchi

Posted on

1

How to set log level in Application Insights in ASP.Net

Whenever I do logging of information level in application insights, I could not see any logs within that.

As the solution of that, I needed to specify log level with below configuration key.

Logging:ApplicationInsights:LogLevel:Default
Enter fullscreen mode Exit fullscreen mode

if I specify log level in this key Logging:LogLevel:Default , it does not affect to log of application insights because the provider name is application insights.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more