[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-admin
Subject: Re: [ADMIN] Definitive logrotate solution?
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2012-04-11 23:51:24
Message-ID: 15455.1334188284 () sss ! pgh ! pa ! us
[Download RAW message or body]
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
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic