Re: Definitive logrotate solution?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Definitive logrotate solution?
Дата
Msg-id 15455.1334188284@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Definitive logrotate solution?  (Wells Oliver <wellsoliver@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Re: Definitive logrotate solution?
Следующее
От: Wells Oliver
Дата:
Сообщение: Changing max_connections after WAL slave configured not allowed?