You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2002/04/25 22:51:49 UTC
XMLLayout and throwable element
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>