serilog-sinks-graylog icon indicating copy to clipboard operation
serilog-sinks-graylog copied to clipboard

Issue with adding properties to logging with LogContext.Pushproperty and .Net6

Open duncan-bradley opened this issue 2 years ago • 1 comments

I've been using middleware to add logging context to Graylog using LogContext.PushProperty("name", value) in .net 5 without issue. I've upgraded to .Net6, and now it does not work any more. It still works with file & console loggers, just not with this one.

Is this an issue anyone else has encountered?

duncan-bradley avatar Dec 17 '21 15:12 duncan-bradley

Hmm probably you do something wrong. In our systems it just works. You can view my example

whir1 avatar Jun 16 '23 07:06 whir1