Summary: | Support %X layout specification to output all MDC key-value pairs | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Curt Arnold <carnold> |
Component: | Layout | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | baerrach |
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Mac OS X 10.4 |
Description
Curt Arnold
2008-10-09 15:47:26 UTC
Committed in rev 703285 Curt, is there a reason for the format chosen for %X. I guess I was expecting key=value. This was a backport of log4j 1.3's (now long abandoned) behavior which predates my involvement with the project. I intentionally mimicked log4j 1.3, but I don't know why that format was used in log4j 1.3. Ahh, guess I was expecting something like logback does with key=value so I dont have to train log file analysers (e.g. Splunk) on how to interpret the MDC values. |