Bug 43078 - Optionally render MDC content in XMLLayout
Summary: Optionally render MDC content in XMLLayout
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Layout (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2007-08-09 15:00 UTC by Curt Arnold
Modified: 2007-08-09 15:04 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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.