Bug 43078 - Optionally render MDC content in XMLLayout
Optionally render MDC content in XMLLayout
Status: RESOLVED FIXED
Product: Log4j
Classification: Unclassified
Component: Layout
unspecified
Other other
: P2 normal
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-08-09 15:00 UTC by Curt Arnold
Modified: 2007-08-09 15:04 UTC (History)
0 users



Attachments

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.