Search found 4 matches

by constructor
Tue Jun 11, 2019 8:23 pm
Forum: Using LogMX
Topic: Parsing logback: attribute line break and CDATA
Replies: 5
Views: 17369

Re: Parsing logback: attribute line break and CDATA

Thanks Xavier for the detailed explanation. I haven't tried your parser yet. I ended up writing my own XMLLayout that fixed the issues I listed.
by constructor
Thu Jun 06, 2019 3:58 pm
Forum: Using LogMX
Topic: Parsing logback: attribute line break and CDATA
Replies: 5
Views: 17369

Re: Parsing logback: attribute line break and CDATA

Another issue I didin't show, for simplicity, is that LogMX doesn't understand XML entity for single quote (') - they are displayed as is in the viewer. <log4j:event logger="com.acme" timestamp="1559658306788" level="INFO" thread="[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kern...
by constructor
Thu Jun 06, 2019 3:45 pm
Forum: Using LogMX
Topic: Parsing logback: attribute line break and CDATA
Replies: 5
Views: 17369

Re: Parsing logback: attribute line break and CDATA

Thanks Xavier. The log I showed was produced by Logback's XMLLayout: https://github.com/qos-ch/logback/blob/master/logback-classic/src/main/java/ch/qos/logback/classic/log4j/XMLLayout.java#L111-L113 I don't know why they start a new line at timestamp attribute, but it produces something LogMX doesn'...
by constructor
Wed Jun 05, 2019 6:11 pm
Forum: Using LogMX
Topic: Parsing logback: attribute line break and CDATA
Replies: 5
Views: 17369

Parsing logback: attribute line break and CDATA

LogMX version: 5.4.4 We are running into two issues. #1. It fails to parse a logback message because timestamp attribute starts on a new line: <log4j:event logger="com.acme" timestamp="1559658306788" level="INFO" thread="[ACTIVE] ExecuteThread: '9'"> <log4j:message>Hello World</log4j:message> </log4...