Re: pg_log directory

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: pg_log directory
Дата
Msg-id 1219500332.19104.5.camel@laptop.gunduz.org
обсуждение исходный текст
Ответ на Re: pg_log directory  ("slamp slamp" <slackamp@gmail.com>)
Список pgsql-admin
On Thu, 2008-08-21 at 09:25 -0400, slamp slamp wrote:
>
> I am using the PGDG rpms. So it has the default logging configs. its
> rotating daily but i have files there since 2007. is there a config
> option to delete these files?

You may want to change log_filename option, and set it to (for example)
"postgresql-%a.log"  so that ogs will be rotated weekly.

Actually this is what I'm planning to do for 8.4+ PGDG RPMs.

Regards,
--
Devrim GÜNDÜZ
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org


Вложения

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

Предыдущее
От: Jeff Frost
Дата:
Сообщение: Re: restoring from dump
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: pg_log directory