pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Yambu <hyambu@gmail.com>
Cc: Holger Jakobs <holger@jakobs.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: current log file removal
Date: Thu, 26 Nov 2020 15:58:56 +0100
Message-ID: <280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com> (raw)
In-Reply-To: <CALhHtcBDudz_o3g2P48Rzh=qjWj6=h9=PxNpOO54M6_H2oQRpg@mail.gmail.com>
References: <CALhHtcAyBC9PsQDb-h1LaCetV85JPH7o4Md6T7_Qh0hd-6sk1Q@mail.gmail.com>
	<a0b34226-3b66-44bd-c2da-ae0ef3b32100@jakobs.com>
	<CALhHtcBDudz_o3g2P48Rzh=qjWj6=h9=PxNpOO54M6_H2oQRpg@mail.gmail.com>

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 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




view thread (6+ messages)  latest in thread

Message-ID: <280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com>
Permalink:  ../280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com/
Also on:    postgresql.org/message-id/280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: paul.foerster@gmail.com, hyambu@gmail.com, holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: current log file removal
  In-Reply-To: <280B6A13-B54B-4F0B-A935-AE69AB8DA907@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox