You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2015/10/15 16:56:05 UTC
[jira] [Resolved] (LOG4J2-627) Better structure of Thread Context
Stack in XMLLayout
[ https://issues.apache.org/jira/browse/LOG4J2-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikael Ståldal resolved LOG4J2-627.
-----------------------------------
Resolution: Won't Fix
Changing this now would break backwards compatibility.
> Better structure of Thread Context Stack in XMLLayout
> -----------------------------------------------------
>
> Key: LOG4J2-627
> URL: https://issues.apache.org/jira/browse/LOG4J2-627
> Project: Log4j 2
> Issue Type: Improvement
> Components: Layouts
> Affects Versions: 2.0-rc1
> Reporter: Mikael Ståldal
> Priority: Minor
>
> The Thread Context Stack is currently represented like this in XMLLayout:
> {code:xml|title=Current}
> <log4j:NDC><![CDATA[[foo, bar]]]></log4j:NDC>
> {code}
> This does not make proper use of the XML data format.
> {code:xml|title=Suggested}
> <log4j:NDC>
> <log4j:NDCEntry><![CDATA[[foo]]]></log4j:NDCEntry>
> <log4j:NDCEntry><![CDATA[[bar]]]></log4j:NDCEntry>
> </log4j:NDC>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org