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

StructuredDataFilter defines "pairs" as attribute instead of element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta2
    • 2.0-beta4
    • Core
    • 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

      Attachments

        Activity

          People

            rgoers Ralph Goers
            arkin Arkin Yetis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: