Re: Logging [RESOLVED]
Rich Shepard <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.general |
|---|---|
| Message-ID | <[email protected]> |
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