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)
Список
Дерево обсуждения
8.3.x log maintenance Steve Clark <sclark@netwolves.com>
Re: 8.3.x log maintenance Tom Lane <tgl@sss.pgh.pa.us>
Re: 8.3.x log maintenance Steve Clark <sclark@netwolves.com>
Re: 8.3.x log maintenance Raymond O'Donnell <rod@iol.ie>
Steve Clark  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
Дата:
FAQ