Login   Register  
PHP Classes

PHP Log: Parse log files and process with separate classes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Dom Hastings
Name: Dom Hastings <e-mail contact>
Packages: 4 Browse all classes by Dom Hastings Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 30
All time rank: 123254 in United Kingdom United Kingdom
Week rank: 967 Up38 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz  
This package can be used to parse log files and process with separate classes.

It can open a given log file and extract values according to a regular expression. By default it uses Apache common log format regular expression.

For each log line it creates an array that contains the log field values. That array is passed to a parser class object for further processing.

A parser class is provided to insert the log field values in a MySQL database.

  Classes of Dom Hastings  >  PHP Log  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Log
Base name: php-log
Description: Parse log files and process with separate classes
Version: 0.2
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 802 users
All time rank: 3882
Week users: 2 users
Week rank: 1166 Up
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Logging Log generation and processing View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.log.mysql.php Class MySQL processor
Plain text file class.log.output.php Class Basic output processor
Plain text file class.log.php Class Main class
Plain text file class.log.processor.php Class Processor interface
Accessible without login Plain text file parse.php Example Example implementation
Accessible without login Plain text file test.log Data Test apache style log

Download Download all files: php-log.tar.gz php-log.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.