You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LoggingEventSource can create wrong event payloads #2958
Microsoft-Extensions-Logging can create a bad event if there are null strings. For example, when FormattedMessage receives an EventName of null, the event payload will show that there is EventName of some other payload.
To Reproduce
Just create a new mvc app from dotnet new mvc and attach dotnet-trace or ETW, and turn on Microsoft-Extensions-Logging provider with keyword 0x4.
Expected behavior
When payloads with null string is written, it should be null in the resulting trace.
Activity