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 "Mark Paluch (JIRA)" <ji...@apache.org> on 2013/11/22 20:43:35 UTC

[jira] [Updated] (LOG4J2-447) XMLLayout does not include marker name

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

Mark Paluch updated LOG4J2-447:
-------------------------------

    Attachment: LOG4J2-447.patch

Patch attached, added <Marker>Marker-Name</Marker> or <Marker parent="name of parent marker">Child Marker</Marker> to XMLLayout

> 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
>         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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org