Skip to content

Instantly share code, notes, and snippets.

@ivanelson
Created August 29, 2014 17:53
Show Gist options
  • Save ivanelson/8b4a3c0a3a4117ee4cdb to your computer and use it in GitHub Desktop.
Save ivanelson/8b4a3c0a3a4117ee4cdb to your computer and use it in GitHub Desktop.
postgresql.conf
# Version 9.1
log_destination = 'stderr' # Valid values are combinations of
logging_collector = all # Enable capturing of stderr and csvlog
log_directory = 'pg_log' # directory where log files are written,
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
log_file_mode = 0600 # creation mode for log files,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment