You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/20 22:33:00 UTC

[jira] [Commented] (LOG4J2-3048) Add direct MapMessage support to GelfLayout.

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

ASF subversion and git services commented on LOG4J2-3048:
---------------------------------------------------------

Commit e9171dccbc161df7ae68a6ab0f5c918a5bc71d26 in logging-log4j2's branch refs/heads/release-2.x from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=e9171dc ]

LOG4J2-3048 - Add improved MapMessge support to GelfLayout.


> Add direct MapMessage support to GelfLayout.
> --------------------------------------------
>
>                 Key: LOG4J2-3048
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3048
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>    Affects Versions: 2.14.1
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>            Priority: Major
>             Fix For: 2.15.0
>
>
> In order for attributes in MapMessages to be included in the output from GelfLayout they have to be defined as an additional field. This is a bit awkward and makes it hard to tailor if multiple applications share the same base configuration but provide their own overrides. GelfLayout should provide the same support for attributes found in MapMessages as it does for ThreadContext fields.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)