Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3048

Add direct MapMessage support to GelfLayout.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.14.1
    • 2.15.0
    • Layouts
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rgoers Ralph Goers
            rgoers Ralph Goers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment