Re: current log file removal - Mailing list pgsql-admin

From Paul Förster
Subject Re: current log file removal
Date
Msg-id 280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com
Whole thread Raw
In response to Re: current log file removal  (Yambu <hyambu@gmail.com>)
List pgsql-admin
Hi,

> On 26. Nov, 2020, at 15:46, Yambu <hyambu@gmail.com> wrote:
>
> When I renamed log file, there was no new one created, do I need to reload postgres?

a new log file will be created when necessary and not just for fun. So, if there is an event that needs logging, then
thelog file will be written to. If it doesn't exist, then it will be created. 

If your log level permits, then you can provoke that, but it's really not necessary to do that.

Cheers,
Paul


pgsql-admin by date:

Previous
From: Paul Förster
Date:
Subject: Re: Move base directory to different location
Next
From: "David G. Johnston"
Date:
Subject: Re: Move base directory to different location