log file maintenance

From: yusuf0478(at)netscape(dot)net (David Wendy)
To: pgsql-admin(at)postgresql(dot)org
Subject: log file maintenance
Date: 2003-02-17 18:54:30
Message-ID: 535ddc4b.0302171054.14a489fc@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2003-02-17 18:54:33 Re: md5 authentication fails
Previous Message Martins Zarins 2003-02-17 18:53:40 FATAL 2: open of /usr/local/pgsql/data/pg_clog/0943 failed