Since I announced rails-log-analyzer some weeks ago, quite a lot has happened! Apparently there is some interest in such a tool: on this blog we get a lot of traffic looking for more info, the github project already has 22 watchers and it even has been forked!
In the mean time, Bart and I worked hard to add new functionality and refactored the internal design. As a result, I have released request-log-analyzer 0.1.0 today!
Changes:
- The project is renamed to request-log-analyzer, because we plan to support log files from other frameworks as well; Merb is planned to be supported in the near future.
- The tool is distributed as a gem, making it much easier to install and update.
- More reports, colorized output, parsing progress bars, command line arguments, etc…
- Added a tool to create a SQLite database with all the parsed info from the log file, so you can do your own analysis.
Installation:
gem sources -a http://gems.github.com sudo gem install wvanbergen-request-log-analyzer
Usage:
request-log-analyzer[LOG FILES*] request-log-analyzer -c 20 -z log/production.log
Please let me know what you think! If you have any problems using the tool, do not hesitate to contact me!
Tags: "rails-log-analyzer", production.log, request-log-analyzer, statistics



August 29th, 2008 at 12:09 pm
[...] Original post by Willem van Bergen [...]
October 8th, 2008 at 11:39 am
Hey,
can you describe how to run your gem with windows?
A simple request-log-analyzer [LOG FILES*] on the windows command prompt will not work.
Thanks in advance!
October 16th, 2008 at 12:14 pm
Sorry for the late reply; I was on a holiday.
Unfortunately, I don’t have a Windows installation to test it on: you may be the first person to use this tool on Windows :-). What error message do you get when you run request-log-analyzer?
You may need to call the Ruby interpreter directly, because Windows does not support the executable file permission, but you’ll need to find out where the request-log-analyzer file is installed on your system:
ruby c:\path\to\request-log-analyzer c:\railsapp\log\development.logHope this helps!
November 10th, 2008 at 1:17 pm
I’m trying to intall this with windows.Not sure if i’m trying to install it right - gem sources -a http://gems.github.com
sudo gem install wvanbergen-request-log-analyzer
please advice..
thanks
November 10th, 2008 at 5:49 pm
The commands you posted works for me. However, I only have used the tool on OSX and Linux and I have never used in in Windows, so it might not even work for you at all.
Can you post the error message you are experiencing? Any additional information you can provide might help me solving this issue.