Add logging. Use the normal PG ports.
This commit is contained in:
@@ -819,6 +819,14 @@ max_connections = 200 # (change requires restart)
|
||||
# CUSTOMIZED OPTIONS
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Logging
|
||||
log_directory = '/var/log/postgresql'
|
||||
logging_collector = on
|
||||
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
|
||||
log_truncate_on_rotation = on
|
||||
log_rotation_age = 1d
|
||||
log_rotation_size = 10MB
|
||||
|
||||
# Add settings for extensions here
|
||||
|
||||
# OS Type: linux
|
||||
|
||||
Reference in New Issue
Block a user