79621700

Date: 2025-05-14 14:33:26
Score: 2.5
Natty:
Report link

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.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (2): still not working
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AW94