diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-28 20:03:31 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-28 20:03:31 +0000 |
commit | ba91f9feafa24e74c4301b872bc855a5d7b22f47 (patch) | |
tree | 6bf3d687caa4bed3b73e29c37387e98355ddba1c /actionpack/lib | |
parent | 00e085f5a51c7dae014adb796e9ebb510cbabf41 (diff) | |
download | rails-ba91f9feafa24e74c4301b872bc855a5d7b22f47.tar.gz rails-ba91f9feafa24e74c4301b872bc855a5d7b22f47.tar.bz2 rails-ba91f9feafa24e74c4301b872bc855a5d7b22f47.zip |
Dont log size of request, doesnt work well with procs, not that interesting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/benchmarking.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/benchmarking.rb b/actionpack/lib/action_controller/benchmarking.rb index e1c3bbbdc1..ceed88f2bf 100644 --- a/actionpack/lib/action_controller/benchmarking.rb +++ b/actionpack/lib/action_controller/benchmarking.rb @@ -70,7 +70,7 @@ module ActionController #:nodoc: log_message = "Completed in #{sprintf("%.5f", runtime)} (#{(1 / runtime).floor} reqs/sec)" log_message << rendering_runtime(runtime) if @rendering_runtime log_message << active_record_runtime(runtime) if Object.const_defined?("ActiveRecord") && ActiveRecord::Base.connected? - log_message << " | #{response.body.size} bytes (#{headers["Status"]})" + log_message << " | #{headers["Status"]}" log_message << " [#{complete_request_uri rescue "unknown"}]" logger.info(log_message) end |