Re: Log to Syslog or rotatelogs? Advice Please

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Log to Syslog or rotatelogs? Advice Please
Дата
Msg-id 1110823449.28555.59.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на Log to Syslog or rotatelogs? Advice Please  (David Wagoner <dbwagoner@gmail.com>)
Список pgsql-admin
On Mon, 2005-03-14 at 08:37, David Wagoner wrote:
> Postgres 7.3.9 on RH Linux...
>
> Setting up new production server-
>
> Is it better to send the postmaster log to Syslog or to rotatelogs?

That really depends more on your production environment than any thing
else.

I use apache's rotatelogs with my systems, because the only "log server"
we have is for application logging.  If you use syslogd, be sure read
the man page, where they mention the - character:

"The - may only be used to prefix a filename if you want to omit
sync’ing the file after every write to it."

Which is very important if you want postgresql to keep running speedily.

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

Предыдущее
От: Brad Nicholson
Дата:
Сообщение: Re: Performance Question
Следующее
От: Marcin Giedz
Дата:
Сообщение: Performance problem...