Bug 43077

Summary: XSLTLayout
Product: Log4j Reporter: Curt Arnold <carnold>
Component: LayoutAssignee: log4j-dev <log4j-dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   

Description Curt Arnold 2007-08-09 14:38:44 UTC
Add an XSLTLayout to the extras companion.  The existing XMLLayout will fail to produce valid XML when 
logger names, thread names or other fields contain quotes, ampersands, less thans, etc.  The XSLTLayout 
uses the javax.xml.transforms package to create an Transformer that is used to serialize logging events 
into a format compatible with XMLLayout or transformed into any arbitrary XML, HTML or text format.  The 
XSLTLayout should correctly handle the problematic characters previously mentioned and can be used as a 
replacement for XMLLayout.
Comment 1 Curt Arnold 2007-08-09 14:40:08 UTC
Committed in rev 564393.