1Filter::StringMatch(3)User Contributed Perl DocumentationFilter::StringMatch(3)
2
3
4
6 Log::Log4perl::Filter::StringMatch - Filter to match the log level
7 exactly
8
10 log4perl.filter.Match1 = Log::Log4perl::Filter::StringMatch
11 log4perl.filter.Match1.StringToMatch = blah blah
12 log4perl.filter.Match1.AcceptOnMatch = true
13
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
20 supposed to pass or block the message on a match ("true" or "false").
21
23 Log::Log4perl::Filter, Log::Log4perl::Filter::LevelMatch,
24 Log::Log4perl::Filter::LevelRange, Log::Log4perl::Filter::Boolean
25
27 Copyright 2002-2009 by Mike Schilli <m@perlmeister.com> and Kevin Goess
28 <cpan@goess.org>.
29
30 This library is free software; you can redistribute it and/or modify it
31 under the same terms as Perl itself.
32
33
34
35perl v5.12.2 2010-08-31 Filter::StringMatch(3)