I have a Nlog configuration that is basically this:
\">
&
Thanks for the fix. This issue has evolved slightly since your original positing.
After chasing down all the github patches (334, 331, 371) related to this problem and checking that they haven't been reversed, I've discovered that ${event-context:item=x}
doesn't seem to work properly anymore but ${event-properties:item=x}
does. To be fair they did mention that context is deprecated. So change your NLog.config to use event-properties
is my advice.
Oh and I'm on NLog v4.1.0 and NLog.Extended v4.0.0.1 in case this crops up in the future.