I have a heroku app running (in production environment) on cedar stack. It uses postgres db.
In my environment/productions.rb file I have commented out this line
# config.log_level = :info
And in Heroku I have this config
$> heroku config
=== xxxx Config Vars
LOG_LEVEL: debug
RAILS_ENV: production
I want to view all db query that gets executed. In development environment locally I can see logs like this:
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'xyz@gmail.com' AND "users"."ustatus" IN (10, 11) LIMIT 1
But on heroku logs
they never appear. Anyone know how to enable db log on heroku?