forked from dbackowski/rails_log_analyzer
reedlaw/rails_log_analyzer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Rails 2.3.x log analyzer Usage: ruby rails_log_analyzer.rb [options] number -f, --file FILE Log file to analyze -l, --limit NUMBER Limit report max size (default 20) -h, --help Display this screen Example: ./rails_log_analyzer.rb -f production.log -l 5 Output: Top slowest actions: _________________________________________________________________________________________________________________ | Controller | Action | Total time [seconds] | |----------------------------------------+-----------------------------------------------+----------------------| | Clients::Payments::CurrentController | show | 36 | | Clients::Net::AccessDevicesController | free_addresses | 13 | | Clients::Payments::SchedulerController | index | 11 | | Tasks::Puu::AccessDevicesController | free_addresses | 10 | | Clients::Doc::ContractVoipController | auto_complete_for_contract_voip_wire_phone_no | 9 | ----------------------------------------------------------------------------------------------------------------- Top most requested actions: _____________________________________________________________________________ | Controller | Action | Requested count | |---------------------------------------+-----------------+-----------------| | Search::ClientsController | index | 3246 | | Clients::InformationsController | show | 2637 | | Soz::Current::ExternalController | index | 2242 | | Search::BaseController | get_search_type | 1920 | | BaseController | index | 1648 | ----------------------------------------------------------------------------- Top error 500 actions: __________________________________________________________________ | Controller | Action | Errors count | |----------------------------------------+--------+--------------| | Tasks::Puu::OthersController | show | 3 | | Tasks::Puu::MyController | show | 2 | | Clients::Payments::SchedulerController | show | 1 | ------------------------------------------------------------------
About
Rails 2.3 log analyzer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%