manpagez: man pages & more
man Log::Log4perl::Filter::MDC(3)
Home | html | info | man
Filter::MDC(3)        User Contributed Perl Documentation       Filter::MDC(3)



NAME

       Log::Log4perl::Filter::MDC - Filter to match on values of a MDC key


SYNOPSIS

           log4perl.filter.Match1               = Log::Log4perl::Filter::MDC
           log4perl.filter.Match1.KeyToMatch    = foo
           log4perl.filter.Match1.RegexToMatch  = bar


DESCRIPTION

       This Log4perl filter checks if a predefined MDC key, as set in
       "KeyToMatch", of the currently submitted message matches a predefined
       regex, as set in "RegexToMatch".


SEE ALSO

       Log::Log4perl::Filter(3), Log::Log4perl::Filter::Boolean(3),
       Log::Log4perl::Filter::LevelMatch(3),
       Log::Log4perl::Filter::LevelRange(3),
       Log::Log4perl::Filter::StringMatch(3)


LICENSE

       Copyright 2002-2026 by Mike Schilli <m@perlmeister.com> and Kevin Goess
       <cpan@goess.org>.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.34.3                      2026-08-15                    Filter::MDC(3)

log-log4perl 1.580.0 - Generated Tue Aug 25 18:55:36 CDT 2026
© manpagez.com 2000-2026
Individual documents may contain additional copyright information.