Sha256: 30052cc42dd8df76f285daf8ea222d219d719954f4b6340f76a73faf774dbaf5

Contents?: true

Size: 387 Bytes

Versions: 29

Compression:

Stored size: 387 Bytes

Contents

namespace :log do
  desc "Analyze the Rails log file using the request-log-analyzer gem." 
    task :analyze  => :environment do
      puts "Analyzing the Rails log file using the request-log-analyzer gem."
      puts "Environment: #{RAILS_ENV}"
      puts "Logfile: #{Rails.configuration.log_path}"
      puts ""
      `request-log-analyzer #{Rails.configuration.log_path} -z`
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
wvanbergen-request-log-analyzer-0.3.0 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-0.3.2 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-0.3.3 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-0.3.4 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.0.0 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.0.1 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.0.2 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.0.3 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.0.4 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.0 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.1 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.2 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.3 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.4 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.5.1 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.6 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.1.7 tasks/request_log_analyzer.rake
wvanbergen-request-log-analyzer-1.2.0 tasks/request_log_analyzer.rake
request-log-analyzer-1.0.3 tasks/request_log_analyzer.rake
request-log-analyzer-1.0.4 tasks/request_log_analyzer.rake