1Filter::StringMatch(3)User Contributed Perl DocumentationFilter::StringMatch(3)
2
3
4

NAME

6       Log::Log4perl::Filter::StringMatch - Filter to match the log level
7       exactly
8

SYNOPSIS

10           log4perl.filter.Match1               = Log::Log4perl::Filter::StringMatch
11           log4perl.filter.Match1.StringToMatch = blah blah
12           log4perl.filter.Match1.AcceptOnMatch = true
13

DESCRIPTION

15       This Log4perl custom filter checks if the currently submitted message
16       matches a predefined regular expression, as set in the "StringToMatch"
17       parameter. It uses common Perl 5 regexes.
18
19       The additional parameter "AcceptOnMatch" defines if the filter is sup‐
20       posed to pass or block the message on a match ("true" or "false").
21

SEE ALSO

23       Log::Log4perl::Filter, Log::Log4perl::Filter::LevelMatch,
24       Log::Log4perl::Filter::LevelRange, Log::Log4perl::Filter::Boolean
25

AUTHOR

27       Mike Schilli, <log4perl@perlmeister.com>, 2003
28
29
30
31perl v5.8.8                       2002-07-10            Filter::StringMatch(3)
Impressum