Created
December 12, 2018 01:36
-
-
Save peterneave/8ecace21753c97c2c8d188f96051bca5 to your computer and use it in GitHub Desktop.
Postgres Logging
This file contains 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
#Add to /etc/postgresql/10/main/conf.d/logging.conf and reload config | |
log_statement = 'none' | |
log_duration = off | |
log_min_duration_statement = 10000 | |
log_lock_waits = on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment