25 lines
846 B
Text
25 lines
846 B
Text
|
#------------------------------------------------------------------------------
|
||
|
# 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'
|