subject says it all. i have some queries which insert large amounts of data and because of this i am unable to watch for any of my own logging as it gets lost in the output. Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Francois Beausoleil
2006-Sep-18 13:25 UTC
Re: how to disable query logging in development mode?
Hi ! 2006/9/18, Chris Hall <christopher.k.hall@gmail.com>:> subject says it all. i have some queries which insert large amounts > of data and because of this i am unable to watch for any of my own > logging as it gets lost in the output.Set your default log level to Level::INFO in environment.rb. Alternatively, set it in config/environments/development.rb The line you want to change is this one: # config.log_level = :debug Change it to: config.log_level = :info Hope that helps ! -- François Beausoleil http://blog.teksol.info/ http://piston.rubyforge.org/ --~--~---------~--~----~------------~-------~--~----~ 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 this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---