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

XMLLayout does not include marker name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-rc1
    • Layouts
    • None

    Description

      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.

      Attachments

        1. LOG4J2-447.patch
          7 kB
          Mark Paluch

        Activity

          People

            Unassigned Unassigned
            hudren Jeff Hudren
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: