[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    [jira] [Created] (LOG4J2-92) Filter Configuration Error when using KeyValuePair
From:       "Szabolcs Beki (JIRA)" <jira () apache ! org>
Date:       2012-09-28 9:13:09
Message-ID: 17384854.138508.1348823589677.JavaMail.jiratomcat () arcas
[Download RAW message or body]

Szabolcs Beki created LOG4J2-92:
-----------------------------------

             Summary: Filter Configuration Error when using  KeyValuePair
                 Key: LOG4J2-92
                 URL: https://issues.apache.org/jira/browse/LOG4J2-92
             Project: Log4j 2
          Issue Type: Bug
          Components: Filters
    Affects Versions: 2.0-alpha1, 2.0-alpha2, 2.0-beta2
         Environment: Win7 
            Reporter: Szabolcs Beki


When trying to configure  DynamicThresholdFilter or StructuredDataFilter via XML \
according to the documentation on Filters,  I get this error message from log4j2 : 

ERROR filter DynamicThresholdFilter has no parameter that matches element \
KeyValuePair


  <DynamicThresholdFilter key="loginId" defaultThreshold="ERROR" onMatch="ACCEPT" \
onMismatch="NEUTRAL">  <KeyValuePair key="User1" value="DEBUG"/>
  </DynamicThresholdFilter>

The problem seems to be present at other filters as well, where  KeyValuePair is \
used. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic