[ 
https://issues.apache.org/jira/browse/LOG4J2-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338156#comment-16338156
 ] 

ASF subversion and git services commented on LOG4J2-2202:
---------------------------------------------------------

Commit cb48e052c2f366168353580d063a006589246eda in logging-log4j2's branch 
refs/heads/master from [~garydgregory]
[ https://git-wip-us.apache.org/repos/asf?p=logging-log4j2.git;h=cb48e05 ]

Normalize spelling of method parameters and variables from "onMisMatch"
to "onMismatch". This is an upshot from [LOG4J2-2202] MarkerFilter
onMismatch invalid attribute in .properties.

> MarkerFilter onMismatch invalid attribute in .properties
> --------------------------------------------------------
>
>                 Key: LOG4J2-2202
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2202
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 2.10.0
>            Reporter: Kilian
>            Priority: Major
>             Fix For: 2.11.0
>
>
> Trying to use the following configuration results in an error indicating that 
> onMismatch is not a property of markerfilter while the docs state that this 
> attribute exists.
> [https://logging.apache.org/log4j/2.x/manual/filters.html#MarkerFilter]
> {{filter.muteHeartbeatEvent.type = MarkerFilter}}
>  {{filter.muteHeartbeatEvent.marker ="Heartbeat_Event"}}
>  {{filter.muteHeartbeatEvent.onMatch = DENY}}
>  {{filter.muteHeartbeatEvent.onMismatch = NEUTRAL}}
>  {quote} 2018-01-20 11:11:51,881 main ERROR MarkerFilter contains an invalid 
> element or attribute "onMismatch"
> {quote}



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

Reply via email to