Re: 8.3.x log maintenance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.3.x log maintenance
Дата
Msg-id 16892.1225120675@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 8.3.x log maintenance  (Steve Clark <sclark@netwolves.com>)
Ответы Re: 8.3.x log maintenance  (Steve Clark <sclark@netwolves.com>)
Список pgsql-general
Steve Clark <sclark@netwolves.com> writes:
> I have postgres logging into data/pg_log/ which works great. My question is there
> and option that tells postgres to only keep the last "n" log files?

The usual solution is to choose a filename pattern that will repeat
after an appropriate interval, eg use the day of the week in the
filename if you wanted seven daily log files.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: 8.3.x log maintenance
Следующее
От: Robert Treat
Дата:
Сообщение: Re: [HACKERS] Hot Standby utility and administrator functions