[jboss-jira] [JBoss JIRA] (LOGMGR-182) support for logging complete MDC map
Jimmy Praet (JIRA)
issues at jboss.org
Fri Nov 10 08:52:01 EST 2017
Jimmy Praet created LOGMGR-182:
----------------------------------
Summary: support for logging complete MDC map
Key: LOGMGR-182
URL: https://issues.jboss.org/browse/LOGMGR-182
Project: JBoss Log Manager
Issue Type: Feature Request
Components: core
Reporter: Jimmy Praet
{noformat}
It would be nice if the complete MDC map with all it's entries got logged if you use %X in your log pattern without specifying a key (e.g. %X{key1}).
Similar to logback: https://logback.qos.ch/manual/layouts.html#mdc
where it would be output as:
key1=val1, key2=val2
Or log4j: https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedPatternLayout.html
where it would be output as:
{{key1,val1},{key2,val2}}
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list