logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Smith <psm...@aconex.com>
Subject Re: XML layout
Date Wed, 08 Aug 2007 21:47:07 GMT

On 09/08/2007, at 3:01 AM, Curt Arnold wrote:

> I'd propose:
> 1. Adding support for properties to XMLLayout, but have it be  
> disabled by default.  Extra elements showing up in content may  
> disrupt existing applications that consume output from XMLLayout  
> and shouldn't just appear in a minor release.

> 2. Reviewing the holes in XMLLayout and fixing low-risk items.   
> Basically, items that currently produce invalid XML and can be  
> fixed without major surgery.
+0 I can't really comment on this one because I don't really  
understand the bugs themselves.  Seems reasonable to fix them to make  
it valid XML.

> 3. Adding XSLTLayout to extras.  That would be an alternative if  
> you are encountering problems with the log4j XMLLayout, plus it  
> would allow output in other formats (such as Atom or RSS) just by  
> adding an appropriate transform in the configuration.  XSLTLayout  
> requires a JDK 1.4, but that shouldn't be an issues with extras.
+1 Perhaps deprecate the older XMLLayout as well?


To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message