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

XMLLayout does not include marker name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9
    • Fix Version/s: 2.0-rc1
    • Component/s: Layouts
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: