Log4j 2
  1. Log4j 2
  2. LOG4J2-113

StructuredDataFilter defines "pairs" as attribute instead of element

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta2
    • Fix Version/s: 2.0-beta4
    • Component/s: Core
    • Labels:
      None

      Description

      org.apache.logging.log4j.core.filter.StructuredDataFilter method createFilter defines parameter "pairs" as follows:

      @PluginAttr("pairs") KeyValuePair[] pairs

      It should have been:

      @PluginElement("pairs") KeyValuePair[] pairs

        Activity

        Hide
        Ralph Goers added a comment -

        Fixed in revision 1408625. Please verify and close.

        Show
        Ralph Goers added a comment - Fixed in revision 1408625. Please verify and close.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Arkin Yetis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development