Re: How to change mode for cluster log? - Mailing list pgadmin-support

From Aditya Toshniwal
Subject Re: How to change mode for cluster log?
Date
Msg-id CAM9w-_mxsoYyoMqG+Z3XEQCPB3rNKyew_VyDahLWWDvQ9RJcpw@mail.gmail.com
Whole thread Raw
In response to How to change mode for cluster log?  (Binghan <binghanluc@gmail.com>)
List pgadmin-support
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"

pgadmin-support by date:

Previous
From: Binghan
Date:
Subject: How to change mode for cluster log?
Next
From: Thomas Sattler
Date:
Subject: Installation on APT