Bug 43078

Summary: Optionally render MDC content in XMLLayout
Product: Log4j - Now in Jira 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 15:00:13 UTC
The log4j 1.3 XMLLayout would generate a log4j:properties element that contains MDC and 
LoggerRepository content.  This bug provides the same capability in log4j 1.2.  It is disabled by default as 
unexpected content may cause apps that consume the existing content to fail.  To enable output of MDC 
values, call layout.setProperties(true) or the equivalent configuration.
Comment 1 Curt Arnold 2007-08-09 15:04:09 UTC
Committed in rev 564399.