Re: Log Rotation - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Log Rotation
Date
Msg-id 1f8c46da652b1d24e4d38d73682318e1d8d07f51.camel@cybertec.at
Whole thread Raw
In response to Re: Log Rotation  (SOzcn <selahattinozcnma@gmail.com>)
List pgsql-admin
On Tue, 2023-12-12 at 19:25 +0300, SOzcn wrote:
> On the top you can see the parameters, I already set the parameters as
> you said. But the truncate didn't work for daily.

Again: PostgreSQL will only truncate a file if, during log rotation,
it starts writing to a file that already exists.
It does not take care about old, closed log files.

Yours,
Laurenz Albe



pgsql-admin by date:

Previous
From: SOzcn
Date:
Subject: Re: Log Rotation
Next
From: sagar jadhav
Date:
Subject: Re: Log Rotation