This is a very simple filter based on string matching.
The filter admits two options StringToMatch and
AcceptOnMatch. If there is a match between the value of the
StringToMatch option and the message of the LoggingEvent,
then the decide(org.apache.log4j.spi.LoggingEvent) method returns Filter.ACCEPT if
the AcceptOnMatch option value is true, if it is false then
Filter.DENY is returned. If there is no match, Filter.NEUTRAL is returned.
ACCEPT_ON_MATCH_OPTION Deprecated.Options are now handled using the JavaBeans paradigm.
This constant is not longer needed and will be removed in the
near term.
STRING_TO_MATCH_OPTION Deprecated.Options are now handled using the JavaBeans paradigm.
This constant is not longer needed and will be removed in the
near term.
Fields inherited from class org.apache.log4j.spi.Filter