How to change mode for cluster log?

From: Binghan <binghanluc(at)gmail(dot)com>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: How to change mode for cluster log?
Date: 2021-01-26 08:14:43
Message-ID: CA+GVamE-P4yo8W6HRhiMpY5E_5TD0WecSh74Xnpaeazyervx-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

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

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Aditya Toshniwal 2021-01-27 05:38:41 Re: How to change mode for cluster log?
Previous Message Edson Richter 2021-01-26 02:02:30 RE: pgAdmin 4.29 on docker container: log fill all disk space