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

"@EnterpriseNumber" is missing in the ID of structured data when RFC5424Layout is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0-beta9
    • None
    • Layouts
    • None

    Description

      Prior to beta9, when RFC5424 layout was used, the ID hasd the format "id@ein". With beta9, "@ein" is missing. Example

      Prior to beta9:

      <128>1 2013-09-16T02:07:24.027-07:00 myhost.com MyTestApp - Audit [stopPayment@12293 accountNumber="REPLACE" amount="***" checkNumber="***" comment="Changed mind" endSequence="4322" errorMessage="None" guId="669317b1-1eaf-11e3-80ec-005056b5071b" issueDate="20110504"][RequestContext@12293 ReqCtx_sessionId="66927b70***" ReqCtx_timezone="America/Los_Angeles" ReqCtx_tzOffset="-0800" ReqCtx_userProduct="IB" ReqCtx_userProductVersion="4.18.1"]

      With beta9:

      <128>1 2013-09-16T02:07:24.027-07:00 myhost.com MyTestApp - Audit [stopPayment accountNumber="REPLACE" amount="***" checkNumber="***" comment="Changed mind" endSequence="4322" errorMessage="None" guId="669317b1-1eaf-11e3-80ec-005056b5071b" issueDate="20110504"][RequestContext@12293 ReqCtx_sessionId="66927b70***" ReqCtx_timezone="America/Los_Angeles" ReqCtx_tzOffset="-0800" ReqCtx_userProduct="IB" ReqCtx_userProductVersion="4.18.1"]

      "@12293" is missing after the ID (stopPayment).

      Attachments

        1. FlumePersistentAppenderTest_RFC5424Layout.patch.txt
          1 kB
          Kamal Bahadur
        2. RFC5424Layout.patch.txt
          1 kB
          Kamal Bahadur

        Activity

          People

            Unassigned Unassigned
            kamalb Kamal Bahadur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: