1Filter::MDC(3) User Contributed Perl Documentation Filter::MDC(3)
2
3
4
6 Log::Log4perl::Filter::MDC - Filter to match on values of a MDC key
7
9 log4perl.filter.Match1 = Log::Log4perl::Filter::MDC
10 log4perl.filter.Match1.KeyToMatch = foo
11 log4perl.filter.Match1.RegexToMatch = bar
12
14 This Log4perl filter checks if a predefined MDC key, as set in
15 "KeyToMatch", of the currently submitted message matches a predefined
16 regex, as set in "RegexToMatch".
17
19 Log::Log4perl::Filter, Log::Log4perl::Filter::Boolean,
20 Log::Log4perl::Filter::LevelMatch, Log::Log4perl::Filter::LevelRange,
21 Log::Log4perl::Filter::MDC, Log::Log4perl::Filter::StringMatch
22
24 Copyright 2002-2013 by Mike Schilli <m@perlmeister.com> and Kevin Goess
25 <cpan@goess.org>.
26
27 This library is free software; you can redistribute it and/or modify it
28 under the same terms as Perl itself.
29
31 Please contribute patches to the project on Github:
32
33 http://github.com/mschilli/log4perl
34
35 Send bug reports or requests for enhancements to the authors via our
36
37 MAILING LIST (questions, bug reports, suggestions/patches):
38 log4perl-devel@lists.sourceforge.net
39
40 Authors (please contact them via the list above, not directly): Mike
41 Schilli <m@perlmeister.com>, Kevin Goess <cpan@goess.org>
42
43 Contributors (in alphabetical order): Ateeq Altaf, Cory Bennett, Jens
44 Berthold, Jeremy Bopp, Hutton Davidson, Chris R. Donnelly, Matisse
45 Enzer, Hugh Esco, Anthony Foiani, James FitzGibbon, Carl Franks, Dennis
46 Gregorovic, Andy Grundman, Paul Harrington, Alexander Hartmaier David
47 Hull, Robert Jacobson, Jason Kohles, Jeff Macdonald, Markus Peter,
48 Brett Rann, Peter Rabbitson, Erik Selberg, Aaron Straup Cope, Lars
49 Thegler, David Viner, Mac Yang.
50
51
52
53perl v5.36.0 2023-01-20 Filter::MDC(3)