Errors when using XMLLayout

2015-05-21 Thread Mikael Ståldal
When trying to use XMLLayout, I get this error. Using Log4j 2.3 and these additional runtime dependecies: com.fasterxml.jackson.core % jackson-core % 2.5.3 com.fasterxml.jackson.dataformat % jackson-dataformat-xml % 2.5.3 2015-05-21 19:04:47,283 ERROR

Using XMLLayout..

2007-02-28 Thread Madduri, Murthy
Hi, As a part of our J2EE application, we need to build a custom Layout for the logging event. The generated log file is expected to be very large. The custom layout need not to conform to any DTD, but, needs to be a well-formed XML with the root element. I am using XPath expression on the

Re: Using XMLLayout..

2007-02-28 Thread James Stauffer
Since the file is continuously changed it wouldn't be possible to have a root element unless it is added as it is rolled. On 2/28/07, Madduri, Murthy [EMAIL PROTECTED] wrote: Hi, As a part of our J2EE application, we need to build a custom Layout for the logging event. The generated log file

Re: Using XMLLayout..

2007-02-28 Thread Curt Arnold
From a previous time the question was asked: On Jan 11, 2007, at 4:27 PM, Curt Arnold wrote: log4j doesn't actually produce an XML document since an XML document can only have one element. log4j produces an XML parsed entity (in this case a sequence of elements) that can be referenced