logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-447) XMLLayout does not include marker name
Date Wed, 27 Nov 2013 02:02:36 GMT

     [ 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!

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.

> 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

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

View raw message