Formula

pgbadger

13.2

Log analyzer for PostgreSQL

Install

brew install pgbadger

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
IntelAll13.2File
SHA-2560bb5a45931dcd0a4936f649e36b01e3b4dffb63193b565c99f57a409162c36ac

Package data

Caveats

You must configure your PostgreSQL server before using pgBadger.
Edit postgresql.conf (in $HOMEBREW_PREFIX/var/postgres if you use Homebrew's
PostgreSQL), set the following parameters, and restart PostgreSQL:

  log_destination = 'stderr'
  log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d '
  log_statement = 'none'
  log_duration = off
  log_min_duration_statement = 0
  log_checkpoints = on
  log_connections = on
  log_disconnections = on
  log_lock_waits = on
  log_temp_files = 0
  lc_messages = 'C'