silent-postgres

0.1.1last stable release 14 years ago
Complexity Score
Low
Open Issues
5
Dependent Projects
1
Weekly Downloadsglobal
370

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

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

Dependencies

No runtime dependency information found for this package.

CVE IssuesActive
0
Scorecards Score
No Data
Test Coverage
No Data
Follows Semver
Yes
Github Stars
81
Dependenciestotal
0
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute silent-postgres in your own private RubyGems registry

gem install silent-postgres
Processing...
Done

9 Releases

RubyGems on Cloudsmith

Getting started with RubyGems on Cloudsmith is fast and easy.