[Rails] Problem setting log level
Hello
I'm new to both ruby and rails and have problem getting any debug
information from the log. When i encounter an "We're sorry, but
something went wrong" message, i look in the "log/development.log" and
this is all i find:
Started GET "/characters/7" for 127.0.0.1 at 2012-09-23 11:45:34 +0200
Processing by CharactersController#show as HTML
Parameters: {"id"=>"7"}
Character Load (0.2ms) SELECT "characters".* FROM "characters" WHERE
"characters"."id" = ? LIMIT 1 [["id", "7"]]
Rendered characters/show.html.erb within layouts/application (22.1ms)
Completed 500 Internal Server Error in 25ms
i've also tried setting:
config.log_level = :debug
in config/enviroments/development.rb but the log looks the same.
I'm i missing something here?
Thanks
Daniel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home