Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wuwrg-0002Jm-Bw for pgsql-docs@arkaria.postgresql.org; Thu, 12 Jun 2014 04:43:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wuwrf-00078x-I6 for pgsql-docs@arkaria.postgresql.org; Thu, 12 Jun 2014 04:43:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wuwre-00078m-LW for pgsql-docs@postgresql.org; Thu, 12 Jun 2014 04:43:50 +0000 Received: from mail12.ics.ntts.co.jp ([210.232.35.65]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wuwra-0004fC-7c for pgsql-docs@postgresql.org; Thu, 12 Jun 2014 04:43:49 +0000 Received: from sadoku34.silk.ntts.co.jp (sadoku34 [10.7.18.34]) by mail12.ics.ntts.co.jp (8.14.4/8.14.4/NTTSOFT) with ESMTP id s5C4hhsl012992 for ; Thu, 12 Jun 2014 13:43:43 +0900 (JST) Received: (from root@localhost) by sadoku34.silk.ntts.co.jp (8.13.8/NTTSOFT) id s5C4hhZf025149 for pgsql-docs@postgresql.org; Thu, 12 Jun 2014 13:43:43 +0900 (JST) Received: from ccmds32.silk.ntts.co.jp [10.107.0.32] by sadoku34.silk.ntts.co.jp with SMTP id PAA25148; Thu, 12 Jun 2014 13:43:43 +0900 Received: from mail147.silk.ntts.co.jp (ccmds32.silk.ntts.co.jp [127.0.0.1]) by ccmds32.silk.ntts.co.jp (8.14.3/8.14.3) with ESMTP id s5C4hgGF028694 for ; Thu, 12 Jun 2014 13:43:42 +0900 Received: from mail147.silk.ntts.co.jp (localhost.localdomain [127.0.0.1]) by mail147.silk.ntts.co.jp (8.14.5/8.14.5/NTTSOFT) with ESMTP id s5C4hcLZ010371 for ; Thu, 12 Jun 2014 13:43:38 +0900 Received: from ccmds32 (mail145.silk.ntts.co.jp [10.107.0.145]) by mail147.silk.ntts.co.jp (8.14.5/8.14.5/NTTSOFT) with SMTP id s5C4hci0010368 for ; Thu, 12 Jun 2014 13:43:38 +0900 Message-ID: <53992FF8.2060702@po.ntts.co.jp> Date: Thu, 12 Jun 2014 13:43:36 +0900 From: Tomonari Katsumata User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: disabling log_rotation_age feature. Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-CC-Mail-RelayStamp: CC-Mail-V4.3-Client X-CC-Mail-RelayStamp: CC-Mail-V4.3-Server X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Hi, I'm reading about log_rotation_age. And I noticed that the setting for disabling the feature is not clear. The document tells us to set it to ZERO if we want to disable the feature. However, the feature would be disabled if we set it less than one minute. [Example] ******************************************* $ grep log_rotation_age ${PGDATA}/postgresql.conf #log_rotation_age = 1d # Automatic rotation of logfiles will log_rotation_age = 10s # Automatic rotation of logfiles will $ psql postgres psql (9.5devel) Type "help" for help. postgres=# show log_rotation_age ; log_rotation_age ------------------ 0 (1 row) ******************************************* I think this fact should be written on document for users. [Fix Example] ********* After this many minutes have elapsed, a new log file will - be created. Set to zero to disable time-based creation of + be created. Set to zero or less than one minute to disable time-based new log files. ********* regards, ----------------- Tomonari Katsumata -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs