[bug] The log generated by setting OTEL_DIAGNOSTICS.json is binary and unreadable #6024
Labels
bug
Something isn't working
needs-triage
New issues which have not been classified or triaged by a community member
pkg:OpenTelemetry
Issues related to OpenTelemetry NuGet package
Package
OpenTelemetry
Package Version
Runtime Version
net8.0
Description
Creating a
OTEL_DIAGNOSTICS.json
in the correct place causes debug log files to be created e.gMy.Project.exe.37076.log
but they are unreadableSteps to Reproduce
OTEL_DIAGNOSTICS.json
file in the root of the project directoryExpected Result
The log is a readable text file
Actual Result
The log is unreadable
Additional Context
{
"LogDirectory": ".",
"FileSize": 32768,
"LogLevel": "Error"
}
The text was updated successfully, but these errors were encountered: