Description
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
2018-01-20 11:11:51,881 main ERROR MarkerFilter contains an invalid element or attribute "onMismatch"
Attachments
Attachments
Issue Links
- is related to
-
LOG4J2-2219 Configuration builder classes should look for "onMismatch", not "onMisMatch".
- Closed