X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id ECB4E475957 for ; Mon, 17 Feb 2003 13:57:52 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id BD0F54758BD for ; Mon, 17 Feb 2003 13:57:51 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 9D54443A679; Mon, 17 Feb 2003 13:57:51 -0500 (EST) From: yusuf0478@netscape.net (David Wendy) X-Newsgroups: comp.databases.postgresql.admin Subject: log file maintenance Date: 17 Feb 2003 10:54:30 -0800 Organization: http://groups.google.com/ Lines: 14 Message-ID: <535ddc4b.0302171054.14a489fc@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/282 X-Sequence-Number: 7480 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=20 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.