The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTTPD::Log::Merge

SYNOPSIS

    my $merge = HTTPD::Log::Merge->new(
        logfile => \@logfiles,
        verbose => 1,
        out_fh => \*STDOUT,
    );
    $merge->merge;

DESCRIPTION

HTTPD::Log::Merge is a simple module for merging httpd logfiles. It takes a list of log files and merges them based on the date of each entry in the logfile. It works for NSCA style httpd logs (Common Log Format, Extended Log Format and the like) - see HTTPD::Log::Filter for more information on supported log formats.

CONSTRUCTOR

The constructor for HTTPD::Log::Merge takes the following options passed as a hash:

logfile

This option should contain an array ref of paths to httpd logfiles. The option is required, and there need to be two or more logfiles.

out_fh

A filehandle to output merged logfile to. Defaults to STDOUT.

verbose

Print interesting stuff to STDERR.

METHODS

merge

Does exactly what it says on the can!

AUTHOR

Ave Wrigley <Ave.Wrigley@itn.co.uk>

COPYRIGHT

Copyright (c) 2001 Ave Wrigley. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.