Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g61eu-0006en-0n for pgsql-general@arkaria.postgresql.org; Fri, 28 Sep 2018 22:54:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g61es-00062t-62 for pgsql-general@arkaria.postgresql.org; Fri, 28 Sep 2018 22:54:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g61er-00062m-2u for pgsql-general@lists.postgresql.org; Fri, 28 Sep 2018 22:54:49 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g61eo-0001gQ-E7 for pgsql-general@lists.postgresql.org; Fri, 28 Sep 2018 22:54:48 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 98FEA21F40; Fri, 28 Sep 2018 18:54:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 28 Sep 2018 18:54:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=oFMZCxEZtGDO15irR6NS3ei0AUoCfgfsqoNNkUYnzfw=; b=xdlKWeTZ wwcAhwr18laWFAl1LxgfEzWQloqF+ZeyMm49rq/e2grjEmAPR8UIfaVFpJBx9KiA iE7KgbASumNumxac57zaigc3Cv7+NSrq++NvXxS3EOZXZEJW/OqPMw8/hGJOxyC5 yTXOrilRiR2DP7gbMYpR2ChPQCL8PASpVgobnNzUVVgwsqkLLQRCIZVh2UJ0weZ9 X5PAclfHN1WctuzchcEBYwtvl+dcFSkBx191ziIkZzZJJLf3HqiIXJHLtEwOf4vE FCLzkVPOk557EX5giENs6leJNxPKqRoPY486eBgM2SBrkhb8LTlWLz4ayYTpMXJz hXgQerVz+b25bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=oFMZCxEZtGDO15irR6NS3ei0AUoCf gfsqoNNkUYnzfw=; b=Ob+eS3DOWlWWeSqhqY3V86UPShmHMNdboez27ReyWVkn5 CfMmZy5zCaw5GlfXoYD0rAGNlW/LGNtcQRhmiw+Og/I+0O52GIAqgiokdCn2XXNs O/cQ+C5j9XjNufxjVzxICBgIdaal5865NH94ZL0FBKWC0J5Tv0JS8yKBcFH7ySS8 6Y24gJS1p81EYRlrb+enjVa5gvZh3Vnh4kSyViH9rDQ0ZEoP/ZVEOMi4hAY868kR uDtiXCNDsoCS3QS0K+uBL3vP9ITKVpoMUq742GQW2PmbhK2o0eOywMRVdws3HK0q wA+MUwidtncqr00U54nYz1FAMBeKnIYhhtFIKaxZw== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 91252102D2; Fri, 28 Sep 2018 18:54:42 -0400 (EDT) Date: Sat, 29 Sep 2018 07:54:39 +0900 From: Michael Paquier To: Adrian Klaver Cc: Raghavendra Rao J S V , pgsql-general@lists.postgresql.org Subject: Re: How to maintain the csv log files in pg_log directory only for past 30 days Message-ID: <20180928225439.GA1823@paquier.xyz> References: <20180928052539.GJ1500@paquier.xyz> <93d6c6ec-141e-70a4-7b15-7c4b1ba4f146@aklaver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <93d6c6ec-141e-70a4-7b15-7c4b1ba4f146@aklaver.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Sep 28, 2018 at 06:19:16AM -0700, Adrian Klaver wrote: > If log_truncate_on_rotation = 'on', correct? Yup, thanks for precising. -- Michael --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAluusS8ACgkQnvQgOdby QH1yrg/3TkHnaRGQnJMRWCjBaq+KnF3XPU0YSDM8voBh/T3PWOEyrh3N9+rAJqRC PYXoGzfu9wnoCngbeMALm1fcxBZPTUCn0NtmGbgFlUT3+hHzKEi3vvlWeNd+sxhS S2a8VlcdUT6rQAk/xtNqEclRUtKK8vRkbPWg2UJoAloZA5Ax1Z/ARmCsMg9TgHWM prhJPHY36Cn1tYXN3uUqxDwqewSzwLSoL6NAzdW0yf5zDup5wH72mLSxylS8OxVv i7NHZmJb2QPZc3kVyHIiKwoxmy/ok61VvbmUM+6v1J9swxZ5SZ+eUNmfm/0MA1GW GE037yemRFxCDB6F39m6jNrj/52626Nq01J+H5itYbg6r7wbgUO7YsS6UelLNbn+ ueaAl37i/Kf+px8ZCg9DhDHVZhKYIxMHmMb8Oy4VL6RWg9LWs40pK0zKt7Bwn6r6 SV531H+pk55KzxDpJ3bLwZ1wldbp29jIRs348WN9phDWmyWKgphg6Ei0qfY0NUS1 l3dsClYhIa/WIDwWD+Lwp4Gwh5any/Sm1pCjke9ZflCC26j7C65qOWo/ZLF90Prs rinJUHyXvhX7fNf0lAc7M7L4NTvV/qfrxWyemHntr1j/L+oq4IIwzpHrxGRyn61z HS5N/5E/RD2yA1jQ8NAGRsvgR4IKzpk2LsDPhrwdHMOjbZGE+g== =tTP+ -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--