pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yusuf0478@netscape.net
To: pgsql-admin@postgresql.org
Subject: log file maintenance
Date: 17 Feb 2003 10:54:30 -0800
Message-ID: <535ddc4b.0302171054.14a489fc@posting.google.com> (raw)

I have logrotate set up for my databases, the problem is that I alwayz
have to restart my server after the log file is rotated.

What do I do after the logrotate so I don't have to restart the db
server?

The ways I've tried to start the server:
pg_ctl start -D .../data -l logfile
and 
pg_ctl start -D .../data | cat - >> logfile

At the moment, I'm using the logrotate script that comes with redhat.
I basically just had to create a logrotate.conf file and use it to
logrotate.



view thread (2+ messages)  latest in thread

Message-ID: <535ddc4b.0302171054.14a489fc@posting.google.com>
Permalink:  ../535ddc4b.0302171054.14a489fc@posting.google.com/
Also on:    postgresql.org/message-id/535ddc4b.0302171054.14a489fc@posting.google.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: yusuf0478@netscape.net
  Subject: Re: log file maintenance
  In-Reply-To: <535ddc4b.0302171054.14a489fc@posting.google.com>
  References: <535ddc4b.0302171054.14a489fc@posting.google.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