Received: from www.wgcr.org (www.wgcr.org [206.74.232.194]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f27HECx05962 for ; Wed, 7 Mar 2001 12:14:12 -0500 (EST) (envelope-from lamar.owen@wgcr.org) Received: from wgcr.org ([10.1.2.1]) by www.wgcr.org (8.9.3/8.9.3/WGCR) with ESMTP id MAA14000; Wed, 7 Mar 2001 12:13:47 -0500 Message-ID: <3AA66C44.7C646F87@wgcr.org> Date: Wed, 07 Mar 2001 12:13:40 -0500 From: Lamar Owen X-Mailer: Mozilla 4.73 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Eisentraut CC: William L James , pgsql-admin@postgresql.org Subject: Re: Postgres/Postmaster logging and log rotation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/54 X-Sequence-Number: 900 Peter Eisentraut wrote: > William L James writes: > > script - su -l postgresql -c "/usr/bin/pg_ctl -D $PGDATA -p > > /usr/bin/postmaster start >>/var/log/postgresql 2>&1"), but > > when the weekly logrotate.d function kicks in, Postgres logging > > stops. > The logging probably continues to go to the rotated-away file. The > typical log rotation cron job presumes that the daemons close the log The logrotate.d script included in the RPM is intended for a syslog-generated logfile. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11