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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay