[ 
https://issues.apache.org/jira/browse/LOG4J2-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory resolved LOG4J2-447.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-rc1

Thank you for the patch!

{noformat}
commit -m "[LOG4J2-447] XMLLayout does not include marker name. Apply patch 
with changes, and also adjust layout documentation to fix element name casing." 
(6 paths specified)
    Sending        
C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/XMLLayout.java
    Sending        
C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/resources/Log4j-events.dtd
    Sending        
C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/main/resources/Log4j-events.xsd
    Sending        
C:/vcs/svn/apache/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/layout/XMLLayoutTest.java
    Sending        C:/vcs/svn/apache/log4j2/trunk/src/changes/changes.xml
    Sending        
C:/vcs/svn/apache/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm
    Transmitting file data ...
    Committed revision 1545905.
{noformat}


> XMLLayout does not include marker name
> --------------------------------------
>
>                 Key: LOG4J2-447
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-447
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>    Affects Versions: 2.0-beta9
>            Reporter: Jeff Hudren
>             Fix For: 2.0-rc1
>
>         Attachments: LOG4J2-447.patch
>
>
> Log4j2 supports the notion of markers, but this is not represented by the 
> XMLLayout.
> For example, using SerializedLayout with SocketAppender will send marker 
> information, but using XMLLayout with SocketAppender will not.
> It would be very helpful to have just the name of the leaf marker sent with 
> the log event, not the corresponding marker hierarchy.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to