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
I've am using your NuGet package and had a question regarding your logging. In CorrelationIdMiddleware Line 147 I am seeing null as the generated CorrelationId in my logs:
I cloned your repo and had my project reference the clone's dlls instead of the NuGet package and added my own logging line to see if CorrelationId was really null there and it is not.
I realize it's a delegate returned from LoggerMessage.Define() but I don't understand why it prints null in the logs there instead of the actual CorrelationId.
Thanks in advance for helping me understand!!
The text was updated successfully, but these errors were encountered:
I noticed something new this morning. When I shutoff/comment-out my Serilog Enricher (screen shot), the CorrelationId logging prints the generated CorrelationId as expected (another screen shot).
Hello,
I've am using your NuGet package and had a question regarding your logging. In CorrelationIdMiddleware Line 147 I am seeing
null
as the generated CorrelationId in my logs:I cloned your repo and had my project reference the clone's dlls instead of the NuGet package and added my own logging line to see if CorrelationId was really
null
there and it is not.I realize it's a delegate returned from
LoggerMessage.Define()
but I don't understand why it printsnull
in the logs there instead of the actual CorrelationId.Thanks in advance for helping me understand!!
The text was updated successfully, but these errors were encountered: