How can we enabled SQL query logging in production environment?
Thanks,
Imran
In your environments/production.rb
environments/production.rb
config.log_level = :debug
Remember you need to restart the web server to apply the changes.