X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 285219FA278 for ; Thu, 11 May 2006 15:54:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53225-07 for ; Thu, 11 May 2006 15:54:00 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.201]) by postgresql.org (Postfix) with ESMTP id 4D7DC9FA19B for ; Thu, 11 May 2006 15:53:59 -0300 (ADT) Received: by wx-out-0102.google.com with SMTP id h29so190586wxd for ; Thu, 11 May 2006 11:53:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=NTJBNc1xOffPfHFv+qFfMssGUXIG/fmzdh6SOJoyTZc1o8IN3wF5faibc2GCCC8zbsJbWbtwejNIUte4VkA31Da+xa9vkUqiS7B2Rf4t7jXDSg/5JBBllA3rnItCZhagiwC1+hx7H0RW40jqZk7rFFFRR+6BYLmiY6vKIgQUvTU= Received: by 10.70.109.11 with SMTP id h11mr1711973wxc; Thu, 11 May 2006 11:53:58 -0700 (PDT) Received: by 10.70.80.16 with HTTP; Thu, 11 May 2006 11:53:57 -0700 (PDT) Message-ID: <1d219a6f0605111153h2a849d24p81721a3d139c6617@mail.gmail.com> Date: Thu, 11 May 2006 14:53:57 -0400 From: "Chris Hoover" To: "pgsql-admin@postgresql.org" Subject: PG 8.1 log rotation MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15666_22940790.1147373637909" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/149 X-Sequence-Number: 21681 ------=_Part_15666_22940790.1147373637909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Question, Can you set both the log_rotation_age and log_rotation_size? If so, does either one have presidence over the other? I would like to have both on an= d am hoping that you will tell me that they work together. So, if log_rotation_age =3D 1440, and log_rotation_size =3D 1048576 then my= log will be rotated each time the log hits 1GB and also at the end of the day. Thanks, Chris ------=_Part_15666_22940790.1147373637909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Question, 

Can you set both the log_rotation_age and log_rotat= ion_size?  If so, does either one have presidence over the other? = ; I would like to have both on and am hoping that you will tell me that the= y work together.

So, if log_rotation_age =3D 1440, and log_rotation_size =3D 1048576= then my log will be rotated each time the log hits 1GB and also at the end= of the day.

Thanks,

Chris
------=_Part_15666_22940790.1147373637909--