I have a .NET Core 2.1 application (Web API) where I added logging providers for the Console and ApplicationInsights.
I followed the instructions from this article to learn, how the logger works. Later I added ApplicationInsights Provider what I learned from this example.
My configuration file just looks like that:
"Logging": {
"LogLevel": {
"Default": "Trace"
}
},
Nothing else.
I expect to get all log messages to appear in ApplicationInsights, but however only warning messages, error messages and critical messages appear there.
All logs with level < warning does not appear there.
If I add a specific log level "debug" for ApplicationInsights, this also does not work.
Any ideas what I might do wrong?