Unable to turn off SQL logging in my Rails production environment
Per answer cited in comments, you need to add the following line to turn off SQL logging:ActiveRecord::Base.logger = nil
According to your posted config, you have ActiveRecord::Base.logger.level = Logger::INFO
instead. Replace this line with the one above and SQL logging will be disabled.
Additionally, as stated here, you could use ActiveRecord::Base.logger.level = 1
which will prevent exceptions caused by lesser levels of logs (ie: info, warn, etc.).
Add the following line in production.rb
config.active_record.logger = nil