logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@bevocal.com>
Subject RE: XMLLayout and throwable element
Date Thu, 25 Apr 2002 20:58:40 GMT
I think it is a good idea.  The output will be readable.
-Mark

> -----Original Message-----
> From: Ceki Gülcü [mailto:ceki@qos.ch]
> Sent: Thursday, April 25, 2002 1:52 PM
> To: log4j-dev@jakarta.apache.org
> 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:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message