Agile Web Development

Build it. Launch it. Love it.

request-log-analyzer

Simple command line tool that can analyze the contents of a production log file. It will produce the most requested action, the actions that take most time to complete, mongrel process blockers, etc. Use this output to find out what part of your code needs optimization.
Usage
Invocation is very easy:
request-log-analyzer mongrel.0.log mongrel.1.log mongrel2.log
The tool can be used to create a SQLite database of all the requests as well, so you can query for yourself:
request-log-database mongrel.0.log mongrel.1.log mongrel2.log --database requests.db
See the project wiki on github for more information.
Installation
gem sources -a http://gems.github.com
sudo gem install wvanbergen-request-log-analyzer

Vitals

Home http://github.com/wvanbergen/request-log-analyzer/wikis
Repository git://github.com/wvanbergen/request-log-analyzer.git
License Rails' (MIT)
Tags Tag_red analyze fav log mongrel optimization production statistics
Rating (10 votes)
Owner Willem van Bergen
Created 15 August 2008

Comments

  • Avatar
    19 August 2008

    Nice plugin! So simple and so functional! The HTML is quite ugly, but unfortunately IE is not Firefox and it can't render rounded corners directly with CSS! Good workaround! :D

Add a comment