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

Include arbitrary message fields in RFC-5424 structured data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta5
    • 2.0-beta8
    • Layouts
    • None
    • N/A

    Description

      We'd really like to see the logger and/or location be included in RFC-5424 structured data. As such, we've developed a small patch to allow arbitrary PatternLayout names to be configured on the SyslogAppender, which are then included in the structured data.

      Patch to follow shortly.

      Attachments

        1. include-arbitrary-fields-in-mdc.patch
          10 kB
          Scott Severtson
        2. include-arbitrary-fields-in-mdc-2.patch
          19 kB
          Scott Severtson

        Activity

          People

            Unassigned Unassigned
            ssevertson Scott Severtson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: