pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: David Wagoner <dbwagoner@gmail.com>
Cc: PgSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Log to Syslog or rotatelogs? Advice Please
Date: Mon, 14 Mar 2005 12:04:10 -0600
Message-ID: <1110823449.28555.59.camel@state.g2switchworks.com> (raw)
In-Reply-To: <3085811c05031406373a8826e6@mail.gmail.com>
References: <3085811c05031406373a8826e6@mail.gmail.com>

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.



view thread (2+ messages)

Message-ID: <1110823449.28555.59.camel@state.g2switchworks.com>
Permalink:  ../1110823449.28555.59.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1110823449.28555.59.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, dbwagoner@gmail.com
  Subject: Re: Log to Syslog or rotatelogs? Advice Please
  In-Reply-To: <1110823449.28555.59.camel@state.g2switchworks.com>
  References: <3085811c05031406373a8826e6@mail.gmail.com> <1110823449.28555.59.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox