Re: BUG #1531: rotated log truncation broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1531: rotated log truncation broken
Дата
Msg-id 6290.1110295966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #1531: rotated log truncation broken  ("Markus Bertheau" <twanger@bluetwanger.de>)
Список pgsql-bugs
"Markus Bertheau" <twanger@bluetwanger.de> writes:
> The log truncation is broken for me. It works as advertised, and I follow
> the argumentation behind it, but for my scenario it is not working:

> I use the computer only in work hours; it's shut down in the night.

> I use the standard log rotation thing that is set up in the RPM distributed
> by the PGDG.

> My logs are not truncated because postgres was not running when the time
> based rotation occurs.

An easy answer is to change the log filename pattern so that rotation
happens hourly instead of daily.  The setup created by the RPM is only
a useful default; it's not intended to be the perfect answer for everyone.

            regards, tom lane

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: [pgsql-www] Likely typo in FAQ_DEV.html
Следующее
От: "Gill, Jerry T."
Дата:
Сообщение: Re: BUG #1528: Rows returned that should be excluded by WHERE clause