This repository has been archived on 2023-05-06. You can view files and clone it, but cannot push or open issues or pull requests.
pleroma-ansible-playbook/roles/pleroma-database/templates/etc_postgresql_confd_postgresql_override.conf

25 lines
846 B
Text
Raw Normal View History

#------------------------------------------------------------------------------
# CONNECTIONS AND AUTHENTICATION
#------------------------------------------------------------------------------
listen_addresses = 'localhost'
port = 5432
unix_socket_directories = '{{ pleroma_postgres_unix_socket_dir }}'
#------------------------------------------------------------------------------
# REPORTING AND LOGGING
#------------------------------------------------------------------------------
log_destination = 'stderr'
logging_collector = on
log_directory = '{{ pleroma_postgres_log_dir }}'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_file_mode = 0600
log_truncate_on_rotation = off
log_rotation_age = 1d
log_rotation_size = 5MB
log_min_messages = info
log_min_error_statement = error
log_min_duration_statement = 1000
log_timezone = 'UTC'