Apache-Log-Spread
view release on metacpan or search on metacpan
The location of the spread daemon to connect to.
=item MLS_LogFormat formatstring formatname
formatstring is a standard mod_log_config format line, the standard format options are all accepted (see the mod_log_config documentation for details), as well as the special tag %{...code...}perl, which evals the contained code and substitutes the r...
=item MLS_Log groupname formatname [should_print]
groupname is the name of the spread group to which logs should be multicast. formatname is the name of the MLS_LogFormat to use. should_print is an optional environment
string to toggle transmission of logs. This can be used the way that mod_setenvif
environment variables are used, or with a complete code block. For example, to only
multicast requests for '.html' files we can use:
MLS_Log www custom "return ($r->uri =~ /\.html/) || ($r->uri =~ /$\//));"
=back
=head1 EXTENDING
Apache::Log::Spread is deigned to be extended to provide custom format string expansions. To extend it in ithis fashion, simply override the _interpolate_log_string function.
( run in 0.448 second using v1.01-cache-2.11-cpan-3989ada0592 )