XMLLayout currently does not output line separators when outputting the
<log4j:throwable> element. Example output:
<log4j:throwable><![CDATA[java.lang.Exception: Just testing at
org.apache.log4j.xml.XMLLayoutTest.common(XMLLayoutTestCase
.java:68) at
org.apache.log4j.xml.XMLLayoutTest.basic(XMLLayoutTestCase.java:43) at
java.lang.reflect.Method.invoke
(Native Method) at junit.framework.Test.runTest(TestCase.java:166) at
junit.framework.TestCase.runBare(TestCase.java:140)]]></log4j:throwable>
I am proposing the following instead which includes line separators:
<log4j:throwable><![CDATA[java.lang.Exception: Just testing
at org.apache.log4j.xml.XMLLayoutTest.common(XMLLayoutTestCase.java:68)
at org.apache.log4j.xml.XMLLayoutTest.basic(XMLLayoutTestCase.java:43)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)]]>
</log4j:throwable>
Is this OK for everyone?
--
Ceki
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>