Click here to get back home

ANN: Apache::LogRegex 1.2

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ANN: Apache::LogRegex 1.2 Peter Hickman 08-13-2004
Posted by Peter Hickman on August 13, 2004, 10:46 am
Please log in for more thread options
Apache::LogRegex - Parse a line from an Apache logfile into a hash

This document refers to version 1.2 of Apache::LogRegex, released August 12nd,
2004

Designed as a simple class to parse Apache log files. It will construct
a regex that will parse the given log file format and can then parse
lines from the log file line by line returning a hash of each line.

The field names of the hash are derived from the log file format. Thus
if the format is '%a %t "%r" %s %b %T "%i" ...' then the
keys of the hash will be %a, %t, %r, %s, %b, %T and %i.

Should these key names be unusable, as I guess they probably are, then
subclass and provide an override rename_this_name() method that can
rename the keys before they are added in the array of field names.

A minor update to allow the use of " in the Referer field


Similar ThreadsPosted
[ANN] Apache::LogRegex 1.1 minor bugfix release July 14, 2004, 5:32 pm
starting apache with mod_perl, error on Apache.pm July 21, 2004, 5:34 pm
Apache::DBI help July 7, 2006, 8:40 am
apache::dbi & mod_perl2 October 25, 2004, 12:28 pm
I Don't Want to Restart Apache November 2, 2005, 3:14 am
mod_perl 2.0.3 and apache 2.0.x and 2.2.x^ October 24, 2007, 7:39 pm
ANN: Apache-Authen-Program 0.93 September 22, 2004, 2:37 am
[ANNOUNCE] Apache::SessionManager 1.03 November 7, 2004, 11:57 pm
Apache::SSIChain Out of Order November 8, 2004, 8:40 pm
problem with Apache::AddHostPath December 21, 2004, 6:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap