It seems to be that the configuration might be a bit different. What I've found here on StackOverflow is that you need to configure your config in the following way and add a LogLevel
in your OpenTelemetry
config:
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Warning"
},
"OpenTelemetry": {
"LogLevel": {
"Default": "Error"
}
}
}
If this configuration is still not working I guess it is a problem with the OpenTelemetry package which is still in preview.