X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C154853358 for ; Mon, 18 Apr 2005 17:52:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84028-01 for ; Mon, 18 Apr 2005 20:52:23 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id E924353246 for ; Mon, 18 Apr 2005 17:52:22 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3IKqNam025686; Mon, 18 Apr 2005 16:52:23 -0400 (EDT) To: Pallav Kalva Cc: pgsql-admin Subject: Re: Postgres Log rotation not working in 8.0.2 In-reply-to: <4264097D.7090808@deg.cc> References: <4264097D.7090808@deg.cc> Comments: In-reply-to Pallav Kalva message dated "Mon, 18 Apr 2005 15:24:45 -0400" Date: Mon, 18 Apr 2005 16:52:23 -0400 Message-ID: <25685.1113857543@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/239 X-Sequence-Number: 17252 Pallav Kalva writes: > Postgres log rotation doesnt seem to behave properly, below are > the settings which I used for log rotation. I want the postgres log to > be rotated every week , its past over a week now and it still writing to > the old log. Well, that rotation setting should rotate every 7 days all right. Are you sure the postmaster is really using these settings? (Check with SHOW.) In particular, I wonder whether you remembered that changing redirect_stderr requires an actual postmaster restart, not just SIGHUP. regards, tom lane