Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 40125650098 for ; Sat, 23 Aug 2008 12:30:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 93753-04 for ; Sat, 23 Aug 2008 12:30:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from orion.asenkron.com (orion.asenkron.com [64.15.152.21]) by postgresql.org (Postfix) with ESMTP id 4FF3C65007C for ; Sat, 23 Aug 2008 12:30:22 -0300 (ADT) Received: from localhost (unknown [127.0.0.1]) by orion.asenkron.com (Postfix) with ESMTP id 6BDE3BD0006; Sat, 23 Aug 2008 15:26:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at orion.asenkron.com Received: from orion.asenkron.com ([127.0.0.1]) by localhost (orion.asenkron.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rgc-wpe-Epx3; Sat, 23 Aug 2008 18:26:47 +0300 (EEST) Received: from [192.168.2.3] (unknown [78.175.134.108]) by orion.asenkron.com (Postfix) with ESMTPA id 48017BD0004; Sat, 23 Aug 2008 18:26:45 +0300 (EEST) Subject: Re: pg_log directory From: Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= To: slamp slamp Cc: pgsql-admin@postgresql.org In-Reply-To: <78926d250808210625m222d1fbcn229d238ab37e7507@mail.gmail.com> References: <78926d250808201343x41e6840cma213c92572ec4268@mail.gmail.com> <10859.1219282681@sss.pgh.pa.us> <78926d250808210625m222d1fbcn229d238ab37e7507@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bkH4TCEr+UHdAfuLDVih" Date: Sat, 23 Aug 2008 17:05:32 +0300 Message-Id: <1219500332.19104.5.camel@laptop.gunduz.org> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/139 X-Sequence-Number: 29984 --=-bkH4TCEr+UHdAfuLDVih Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, 2008-08-21 at 09:25 -0400, slamp slamp wrote: >=20 > I am using the PGDG rpms. So it has the default logging configs. its > rotating daily but i have files there since 2007. is there a config > option to delete these files?=20 You may want to change log_filename option, and set it to (for example) "postgresql-%a.log" so that ogs will be rotated weekly. Actually this is what I'm planning to do for 8.4+ PGDG RPMs. Regards,=20 --=20 Devrim G=C3=9CND=C3=9CZ devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org --=-bkH4TCEr+UHdAfuLDVih Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkiwGSUACgkQtl86P3SPfQ6KQACfZ679ecpNUOHBCOhE0WH2/5X2 SgsAn0xe6FFR80E7F424t8hTXJkqFvoi =N+3T -----END PGP SIGNATURE----- --=-bkH4TCEr+UHdAfuLDVih--