This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You must configure your PostgreSQL server before using pgBadger. | |
| # Edit postgresql.conf (in /usr/local/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 |