augustlilleaas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-12 07:42 UTC
Log level to debug in production?
I wanted to check how the sql queries looked like in production mode. Launched the app in prod mode with script/server after I set config.log_level = :debug in connfig/environments/production.rb. For some reason, the production.log did not include any queries, just information about the requests. Does that mean that rails magically caches everything in my database upon initialization (right..), or am I missing something? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- RoutingErrors Showing Up in Production Log
- [Bug 1221] Banner only suppressed at log level = QUIET (used to be at log level < INFO)
- change_table is not working on production server
- ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
- eager loading not working in production mode