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 133045344B for ; Tue, 19 Apr 2005 11:23:20 -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 97354-08 for ; Tue, 19 Apr 2005 14:23:15 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 427895345A for ; Tue, 19 Apr 2005 11:23:12 -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 j3JENGaG021271; Tue, 19 Apr 2005 10:23:16 -0400 (EDT) To: Pallav Kalva Cc: pgsql-admin Subject: Re: Postgres Log rotation not working in 8.0.2 In-reply-to: <42650AC4.3010902@deg.cc> References: <4264097D.7090808@deg.cc> <25685.1113857543@sss.pgh.pa.us> <42642131.60603@deg.cc> <26045.1113859817@sss.pgh.pa.us> <42650AC4.3010902@deg.cc> Comments: In-reply-to Pallav Kalva message dated "Tue, 19 Apr 2005 09:42:28 -0400" Date: Tue, 19 Apr 2005 10:23:16 -0400 Message-ID: <21270.1113920596@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/262 X-Sequence-Number: 17275 Pallav Kalva writes: > Tom Lane wrote: >> What I suspect happened is that it rotated last Thursday midnight, but >> since %U hadn't changed since Monday, it overwrote the same file it was >> using before. Check to see what the oldest entry in the file is ... >> > It didnt overwrite the file, the last log entry on the file is from > 2005-04-11 which is last monday. You mean the server hasn't actually emitted any messages since last Monday? I think it only considers rotating the file when it actually has something to write in it ... regards, tom lane