serilog-sinks-graylog
serilog-sinks-graylog copied to clipboard
Issue with adding properties to logging with LogContext.Pushproperty and .Net6
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?
Hmm probably you do something wrong. In our systems it just works. You can view my example