Re: How to change mode for cluster log?

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Binghan <binghanluc(at)gmail(dot)com>
Cc: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: How to change mode for cluster log?
Date: 2021-01-27 05:38:41
Message-ID: CAM9w-_mxsoYyoMqG+Z3XEQCPB3rNKyew_VyDahLWWDvQ9RJcpw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Binghan,

This mailing list is for pgAdmin related support.
You can send your query to - pgsql-admin(at)postgresql(dot)org

On Tue, Jan 26, 2021 at 1:44 PM Binghan <binghanluc(at)gmail(dot)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*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Thomas Sattler 2021-01-28 04:18:35 Installation on APT
Previous Message Binghan 2021-01-26 08:14:43 How to change mode for cluster log?