Re: Log to Syslog or rotatelogs? Advice Please - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Log to Syslog or rotatelogs? Advice Please
Date
Msg-id 1110823449.28555.59.camel@state.g2switchworks.com
Whole thread Raw
In response to Log to Syslog or rotatelogs? Advice Please  (David Wagoner <dbwagoner@gmail.com>)
List 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 by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: Performance Question
Next
From: Marcin Giedz
Date:
Subject: Performance problem...