Re: How to change mode for cluster log?

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема Re: How to change mode for cluster log?
Дата
Msg-id CAM9w-_mxsoYyoMqG+Z3XEQCPB3rNKyew_VyDahLWWDvQ9RJcpw@mail.gmail.com
обсуждение исходный текст
Ответ на How to change mode for cluster log?  (Binghan <binghanluc@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Binghan
Дата:
Сообщение: How to change mode for cluster log?
Следующее
От: Thomas Sattler
Дата:
Сообщение: Installation on APT