Re: Logging [RESOLVED] - Mailing list pgsql-general

From Rich Shepard
Subject Re: Logging [RESOLVED]
Date
Msg-id alpine.LNX.2.20.1912041600490.546@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Logging  (Stephen Eilert <contact@stepheneilert.com>)
Responses Re: Logging [RESOLVED]
List pgsql-general
On Wed, 4 Dec 2019, Stephen Eilert wrote:

> Usually, this is done by logrotate or a similar mechanism in your system.
> You’ll likely find that other logs in your system follow a similar
> pattern, not just Postgresql.

Stephen,

Other logs, controlled by logrotate, rotate daily for a maximum of 4
backups.

I just checked /etc/logrotate.d/postgres and it was set at daily with rotate
7. I changed rotate to 4 but the dates are 3-4 days apart, not sequential.

Thanks,

Rich



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Logging
Next
From: Rich Shepard
Date:
Subject: Re: Logging