Closed rpignolet closed 1 year ago
From https://github.com/TOSIT-IO/tdp-collection-prerequisites/pull/13#issuecomment-1228731004.
By default, server logs are stored in data_directory/log, it is possible to move them to /var/log/postgresql, by setting log_directory = '/var/log/postgresql' in postgresql.conf and creating the directory.
data_directory/log
/var/log/postgresql
log_directory = '/var/log/postgresql'
postgresql.conf
From https://github.com/TOSIT-IO/tdp-collection-prerequisites/pull/13#issuecomment-1228731004.
By default, server logs are stored in
data_directory/log
, it is possible to move them to/var/log/postgresql
, by settinglog_directory = '/var/log/postgresql'
inpostgresql.conf
and creating the directory.