how to disable query logging in development mode?

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

Hi !

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 !