Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 1716

Show
Ignore:
Timestamp:
07/05/05 18:14:19 (3 years ago)
Author:
david
Message:

Move URI to the end for greater overview

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/benchmarking.rb

    r1714 r1716  
    4040      else 
    4141        runtime = [Benchmark::measure{ perform_action_without_benchmark }.real, 0.0001].max 
    42         log_message  = "Completed #{complete_request_uri} in #{sprintf("%.5f", runtime)} (#{(1 / runtime).floor} reqs/sec)" 
     42        log_message  = "Completed in #{sprintf("%.5f", runtime)} (#{(1 / runtime).floor} reqs/sec)" 
    4343        log_message << rendering_runtime(runtime) if @rendering_runtime 
    4444        log_message << active_record_runtime(runtime) if Object.const_defined?("ActiveRecord") && ActiveRecord::Base.connected? 
     45        log_message << " [#{complete_request_uri}]" 
    4546        logger.info(log_message) 
    4647      end