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

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

    [ https://issues.apache.org/jira/browse/LOG4J2-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830265#comment-13830265 ] 

Scott Deboy commented on LOG4J2-447:
------------------------------------

I don't think we already have a hamcrest dependency in our tests.

Would also need to document that the XMLlayout includes just the leaf marker name but not the hierarchy..

> 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