Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Logfile::EPrints::Parser
Parse Web server logs that are formatted as one hit per line

Logfile::EPrints::Parser - Parse Web server logs that are formatted as one hit per line



NAME

Logfile::EPrints::Parser - Parse Web server logs that are formatted as one hit per line (e.g. Apache)


SYNOPSIS


        use Logfile::EPrints::Parser;

        $p = Logfile::EPrints::Parser->new(

          type=>'Logfile::EPrints::Hit::Combined',

          handler=>$Handler

        );

        open my $fh, "<access_log" or die $!;

        $p->parse_fh($fh);

        close($fh);


METHODS

new()
Create a new Logfile::Parser object with the following options:

        type - Optionally specify a class to parse log file lines with (defaults to ::CombinedLog)

        handler - Handler to call (see HANDLER CALLBACKS)




=head1 HANDLER CALLBACKS
hit()
Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy