tasks/request_log_analyzer.rake in request-log-analyzer-1.3.7 vs tasks/request_log_analyzer.rake in request-log-analyzer-1.4.0
- old
+ new
@@ -4,11 +4,11 @@
puts "Analyzing the Rails log file using the request-log-analyzer gem."
puts " Environment: #{RAILS_ENV}"
puts " Logfile: #{Rails.configuration.log_path}"
puts ""
IO.popen("request-log-analyzer #{Rails.configuration.log_path}") { |io| $stdout << io.read }
-
+
end
namespace :report do
desc "Analyze the Rails log file using the request-log-analyzer gem and output an HTML file."
task :html => :environment do
@@ -20,7 +20,7 @@
puts " Output: #{output_file}"
puts ""
IO.popen("request-log-analyzer #{Rails.configuration.log_path} --output HTML --file #{output_file}") { |io| $stdout << io.read }
end
end
-
+
end