Hari Menon created LOG4J2-2289:
----------------------------------

             Summary: DynamicFilterThreshold does not accept multiple 
KeyValuePairs
                 Key: LOG4J2-2289
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2289
             Project: Log4j 2
          Issue Type: Bug
            Reporter: Hari Menon


The [log4j-config.xsd 
file|https://github.com/apache/logging-log4j2/blob/80d025ba68fc12d7b4d767fb25455306878279e1/log4j-core/src/main/resources/Log4j-config.xsd]
 defines KeyValuePairs in Filter as:
{code:java}
<xs:sequence>
<xs:element name="KeyValuePair" type="KeyValuePairType" minOccurs="0"/>
</xs:sequence>
{code}

DynamicThresholdFilter can in fact take multiple KeyValuePairs. But that will 
not pass xsd validation because KeyValuePair is missing 'maxOccurs="unbounded"' 
attribute.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to