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
These context properties (request, response) logged to Application Insights as masked as well as expected. But also there are log event properties in the log object unexpectedly.
*.csproj
file): netcoreapp3.1What are you trying to achieve?
There is logging process like below
and contextproperties in nlog.config like below
These context properties (request, response) logged to Application Insights as masked as well as expected. But also there are log event properties in the log object unexpectedly.
Is this a bad approach or is there any workaround?
What have you tried so far?
I am using a custom ApplicationInsightsTarget (forked from this repo) who has an ExcludeLogEventProperty property for now.
I can open a PR for this method if it will be useful.
The text was updated successfully, but these errors were encountered: