Monthly Archives: May 2011

How to disable logging in Rails application

It’s not a good practice to do though depends on your needs. It can be done by two ways, one is to disable for whole application and another is to disable for specific environments. You’re probably looking for some or all of the following settings: config.loggerconfig.active_record.loggerconfig.action_controller.loggerconfig.action_view.loggerconfig.action_mailer.loggerconfig.active_resource.logger If you set any of them to nil like…

Read More