1
answer

I've seen some posts from about a year ago that NXLog is unable to parse attributes using xm_xml, I just wanted to check if this is still true?

I am running NXLog as a service on Windows machines and want to be able to parse the following message, is it possible?

<log4j:event logger="com.sentry.test.LogContextListener" timestamp="1437661699866" level="TRACE" thread="localhost-startStop-1"> <log4j:message><![CDATA[This is a trace message about how we should use C#]]></log4j:message> </log4j:event>

AskedJuly 23, 2015 - 5:02pm

Answer (1)

XML attributes are still unsupported, this is on the roadmap though. I know this is a little ugly but you could extract the attribute values with a regexp.

AnsweredJuly 27, 2015 - 12:26pm