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
We use syslog with structured logging according to rfc5424 in order to send our logmessages. Within our layout we use the ${all-event-properties} layout renderer. One of the values provided to a property appears to contain some quotation marks, which - to be compatible to rfc5424 - must be escaped. Unfortunately, this does not seem to happen or we are unable to configure it correctly.
Here is the relevant snippet from our nlog.config:
We use syslog with structured logging according to rfc5424 in order to send our logmessages. Within our layout we use the
${all-event-properties}
layout renderer. One of the values provided to a property appears to contain some quotation marks, which - to be compatible to rfc5424 - must be escaped. Unfortunately, this does not seem to happen or we are unable to configure it correctly.Here is the relevant snippet from our
nlog.config
:The log statement looks like:
where
state.ToString()
yields something like: Status(StatusCode="OK", Detail="")The logged message contains exactly this string representation instead of the expected: Status(StatusCode=\"OK\", Detail=\"\")
Is this a bug or an configuration issue?
The text was updated successfully, but these errors were encountered: