diff options
author | Paco Guzman <fjguzman@aspgems.com> | 2010-06-20 19:36:46 +0200 |
---|---|---|
committer | Paco Guzman <fjguzman@aspgems.com> | 2010-06-20 19:36:46 +0200 |
commit | 46dd8af1797a208b28b11cfee6e7ebf6eb48a36e (patch) | |
tree | 65165edd0f8c4f82a9e538c938726357f7e47f04 /actionpack/README | |
parent | 03216ae252415f59578eb21fbb39ea5793062a22 (diff) | |
download | rails-46dd8af1797a208b28b11cfee6e7ebf6eb48a36e.tar.gz rails-46dd8af1797a208b28b11cfee6e7ebf6eb48a36e.tar.bz2 rails-46dd8af1797a208b28b11cfee6e7ebf6eb48a36e.zip |
Update integrated logging format
Diffstat (limited to 'actionpack/README')
-rw-r--r-- | actionpack/README | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/actionpack/README b/actionpack/README index 8bdcb9120a..1a59f728cc 100644 --- a/actionpack/README +++ b/actionpack/README @@ -183,20 +183,20 @@ A short rundown of the major features: * Automated benchmarking and integrated logging - Processing WeblogController#index (for 127.0.0.1 at Fri May 28 00:41:55) - Parameters: {"action"=>"index", "controller"=>"weblog"} - Rendering weblog/index (200 OK) - Completed in 0.029281 (34 reqs/sec) + Started GET "/weblog" for 127.0.0.1 at Fri May 28 00:41:55 + Processing by WeblogController#index as HTML + Rendered weblog/index.html.erb within layouts/application (25.7ms) + Completed 200 OK in 29.3ms If Active Record is used as the model, you'll have the database debugging as well: - Processing PostsController#create (for 127.0.0.1 at Sat Jun 19 14:04:23) - Params: {"controller"=>"posts", "action"=>"create", - "post"=>{"title"=>"this is good"} } - SQL (0.000627) INSERT INTO posts (title) VALUES('this is good') + Started POST "/posts" for 127.0.0.1 at Sat Jun 19 14:04:23 + Processing by PostsController#create as HTML + Parameters: {"post"=>{"title"=>"this is good"}} + SQL (0.6ms) INSERT INTO posts (title) VALUES('this is good') Redirected to http://example.com/posts/5 - Completed in 0.221764 (4 reqs/sec) | DB: 0.059920 (27%) + Completed 302 Found in 221ms (Views: 215ms | ActiveRecord: 0.6ms) You specify a logger through a class method, such as: |