Re: Definitive logrotate solution? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Definitive logrotate solution?
Date
Msg-id 15455.1334188284@sss.pgh.pa.us
Whole thread Raw
In response to Re: Definitive logrotate solution?  (Wells Oliver <wellsoliver@gmail.com>)
List pgsql-admin
Wells Oliver <wellsoliver@gmail.com> writes:
> How do you ensure you're not keeping logs from 35+ days ago, or whatever?
> Just a find -mtime +10 -exec rm {}\; kind of thing?

Well, that depends on what you want to do.  I like to choose the log file
names so that they'll automatically be reused once a week or month.

            regards, tom lane

pgsql-admin by date:

Previous
From: Wells Oliver
Date:
Subject: Re: Definitive logrotate solution?
Next
From: Wells Oliver
Date:
Subject: Changing max_connections after WAL slave configured not allowed?