This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
railsfile.rb |
README
A really quick and simple rails log file parser. I just made it because I was board one day and felt like trying
something out.
logfile = Railsfile::Parser.new("#{ENV['HOME']}/Desktop/02_production.log")
requests = logfile.requests
[requests[0], requests[100]].each do |r|
%w[request processing controller action ip_address occurred_at request_method
completion_time requests_per_second rendering_time db_time status_code url].each do |m|
puts r.send(m)
end
puts ''
end
Someday will be something like:
http://railscasts.com/episodes/97
http://ckhsponge.wordpress.com/2006/10/11/ruby-on-rails-log-analyzer-rawk/
http://rails-analyzer.rubyforge.org/
http://nubyonrails.com/articles/a-hodel-3000-compliant-logger-for-the-rest-of-us







