1Filter::StringMatch(3)User Contributed Perl DocumentationFilter::StringMatch(3)
2
3
4
6 Log::Log4perl::Filter::StringMatch - Filter on log message string
7
9 log4perl.filter.Match1 = Log::Log4perl::Filter::StringMatch
10 log4perl.filter.Match1.StringToMatch = blah blah
11 log4perl.filter.Match1.AcceptOnMatch = true
12
14 This Log4perl custom filter checks if the currently submitted message
15 matches a predefined regular expression, as set in the "StringToMatch"
16 parameter. It uses common Perl 5 regexes.
17
18 The additional parameter "AcceptOnMatch" defines if the filter is
19 supposed to pass or block the message on a match ("true" or "false").
20
22 Log::Log4perl::Filter, Log::Log4perl::Filter::Boolean,
23 Log::Log4perl::Filter::LevelMatch, Log::Log4perl::Filter::LevelRange,
24 Log::Log4perl::Filter::MDC
25
27 Copyright 2002-2013 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
34 Please contribute patches to the project on Github:
35
36 http://github.com/mschilli/log4perl
37
38 Send bug reports or requests for enhancements to the authors via our
39
40 MAILING LIST (questions, bug reports, suggestions/patches):
41 log4perl-devel@lists.sourceforge.net
42
43 Authors (please contact them via the list above, not directly): Mike
44 Schilli <m@perlmeister.com>, Kevin Goess <cpan@goess.org>
45
46 Contributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens
47 Berthold, Jeremy Bopp, Hutton Davidson, Chris R. Donnelly, Matisse
48 Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon, Carl Franks, Dennis
49 Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David
50 Hull, Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
51 Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope, Lars
52 Thegler, David Viner, Mac Yang.
53
54
55
56perl v5.36.0 2022-10-24 Filter::StringMatch(3)