I think it is a good idea. The output will be readable. -Mark > -----Original Message----- > From: Ceki Gülcü [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 1:52 PM > To: [EMAIL PROTECTED] > Subject: 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.jav > a: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]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>