一覧へ戻る
dolzenko/silent-postgres(新しいタブで開きます)
主要言語: Ruby
Rails plugin that silences Postgresql connection adapter verbose output
- star 数
- 82
- watcher 数
- 2
- fork 数
- 20
- issue 数
- 5
- 最終更新
- 2016/08/01
主要言語: Ruby
Rails plugin that silences Postgresql connection adapter verbose output
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