I was struggling with the same error and I couldn't find issue in my .NET Web API with Open Telemetry. This problem was really strange for me, since I've not implemented anything custom regarding logging. I was only using Nuget packages for OpenTelemetry and the problem was occuring.
The root cause of this problem is explained by this answer: https://github.com/open-telemetry/opentelemetry-dotnet/issues/6138#issuecomment-2665815098
According to this, downgrade of OpenTelemetry Nuget Packages form 1.11 to 1.10 resolves the problem at this moment.
Of course it will be fixed in the future - see related GitHub issues.