Back

使用 request-log-analyzer 分析Rails 日志(using request-log-analyzer to analyze your Rails log )

发布时间: 2013-02-18 09:22:00

这个东东非常强大,可以分析Rails, Merb, Nginx, Apache, MySQL, postgres, 等各种日志。  ( it supports many formats of logs , including: mysql, postgres, apache .nginx ... )

$ gem install request-log-analyzer 

简单用法: 分析一个文件,并且把它输出到 report-for-cms-logs.html 中: (simple usage: analyze and export the result to a file )

$ request-log-analyzer cms_production_2013-02-17.log --format rails3 --output HTML --file report-for-cms-logs.html

Back