silent-postgres
silent-postgres copied to clipboard
Why not set 'min_messages' to 'warning'?
I noticed that if I set min_messages in database.yml, the verbosity of postgres goes down for me.
development:
adapter: postgresql
min_messages: warning
For reference, here are the links on the topic:
- http://archives.postgresql.org/pgsql-sql/2009-06/msg00049.php
- http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html
Just a heads up ;)
I tried WARNING, PANIC, FAIL, and none made any difference.