Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rails plugin that silences Postgresql connection adapter verbose output
Ruby
branch: master
Failed to load latest commit information.
lib Revert "use #quietly instead of #silence for rails 3.2 support"
MIT-LICENSE
README add information on further reducing log messages for Rails on postgresql
init.rb Tweaks to make it actually work
silent-postgres.gemspec Update gemspec

README

SilentPostgres
==============

Silences internal diagnostic messages from postgresql connection adapter.

Enabled only in development and test environments, skips production for 
performance reasons - logging is probably disabled there anyway.

Note that postgresql itself will also issue some extra logs for things like `implicit sequences`.  Looks like this:

    NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index ...

To disable this logging, use this config option in your Rails `database.yml`

    test:
      ...
      min_messages: WARNING

Copyright (c) 2008 Łukasz Piestrzeniewicz, released under the MIT license
Something went wrong with that request. Please try again.