Re: current log file removal

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Yambu <hyambu(at)gmail(dot)com>
Cc: Holger Jakobs <holger(at)jakobs(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: current log file removal
Date: 2020-11-26 14:58:56
Message-ID: 280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

> On 26. Nov, 2020, at 15:46, Yambu <hyambu(at)gmail(dot)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 the log 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2020-11-26 15:38:05 Re: Move base directory to different location
Previous Message Paul Förster 2020-11-26 14:56:01 Re: Move base directory to different location