Thread: How to change mode for cluster log?
Hi,
I have the following configuration in postgresql.conf. However, it only ensure the mode 600 for file under pg_log. The cluster log file postgresql-10-main.log has 640. How can control the mode for cluster log in postgres.
logging_collector = off log_directory = '/var/log/postgresql/pg_log' log_filename = 'postgres-event.log' log_file_mode = 0600 |
BRs,
BH
Hi Binghan,
This mailing list is for pgAdmin related support.
You can send your query to - pgsql-admin@postgresql.org
On Tue, Jan 26, 2021 at 1:44 PM Binghan <binghanluc@gmail.com> wrote:
Hi,I have the following configuration in postgresql.conf. However, it only ensure the mode 600 for file under pg_log. The cluster log file postgresql-10-main.log has 640. How can control the mode for cluster log in postgres.
logging_collector = off log_directory = '/var/log/postgresql/pg_log' log_filename = 'postgres-event.log' log_file_mode = 0600 BRs,BH
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"