AbstractMatcherFilter.onMismatchattributes is set to
FilterReply.NEUTRAL, so that a badly configured evaluator filter does not disturb the functioning of the filter chain.
It is expected that one of the two attributes will have its value changed to
FilterReply.DENY. That way, it is
possible to decide if a given result must be returned after the evaluation
either failed or succeeded.
For more information about filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html
- Ceki Gülcü, Sébastien Pennec
Methods inherited from class ch.qos.logback.core.filter.AbstractMatcherFilter
getOnMatch, getOnMismatch, setOnMatch, setOnMismatch
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
startpublic void start()
decideDescription copied from class:
FilterIf the decision is
, then the event will be dropped. If the decision is
, then the next filter, if any, will be invoked. If the decision is
then the event will be logged without consulting with other filters in the chain.