Patches: Browse | Submit New | Admin

[#11597] Various new features for pl_analyze, most importantly support for rails logs

Date:
2007-06-15 09:22
Priority:
3
Submitted By:
Stephan Oehlert (steevo)
Assigned To:
Eric Hodel (drbrain)
Category:
production_log_analyzer
State:
Open
Summary:
Various new features for pl_analyze, most importantly support for rails logs

Detailed description
This patch adds a number of new features to pl_analyze:

* Support for rails logs
* Analyzing multiple logs at the same time
* List of most frequently encountered http codes
* Better command line handling
* Optional progress bar while parsing
* Optional ignoring of http:// URLs without domain
* Requests per second, time of first and last request logged
* Separate statistic for additional controllers
* Remove dependency on rails_analyzer_tools

Rails logs can only be parsed correctly if the entries are written one by one (lines not mixed up) as there is no way
to determine which rails process wrote wich line.

It also refactors the parser a bit, this was necessary to support the progress bar. It requires the 'progressbar' gem
to be installed.

Sorry for the large patch size. However, I thought these features might be useful to other people using pl_analyzer
as well.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
pl_analyze-1.5.4.patch new features for pl_analyze Download
production_log_analyzer-1.5.4.gem gem for easier installation Download

Changes:

Field Old Value Date By
File Added2116: production_log_analyzer-1.5.4.gem2007-06-15 09:23steevo
File Added2115: pl_analyze-1.5.4.patch2007-06-15 09:23steevo