Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luhbA-0007H8-KL for pgsql-admin@arkaria.postgresql.org; Sat, 19 Jun 2021 20:29:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1luhb7-0002Qk-HD for pgsql-admin@arkaria.postgresql.org; Sat, 19 Jun 2021 20:29:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luhb7-0002Qc-5u for pgsql-admin@lists.postgresql.org; Sat, 19 Jun 2021 20:29:45 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luhaz-0000lD-F4 for pgsql-admin@postgresql.org; Sat, 19 Jun 2021 20:29:44 +0000 Received: from ANAT ([78.197.128.121]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.184]) with ESMTPSA (Nemesis) id 1M730b-1lvWHB2JOJ-008ade; Sat, 19 Jun 2021 22:29:34 +0200 From: "Michel SALAIS" To: "'still Learner'" Cc: "'pgsql-admin'" References: <00bd01d76435$2bf52790$83df76b0$@msym.fr> In-Reply-To: Subject: RE: STDERR not logging after a fix log size Date: Sat, 19 Jun 2021 22:29:33 +0200 Message-ID: <011401d76549$d11dfb60$7359f220$@msym.fr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0115_01D7655A.94AC49A0" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHS6LWsvTZce5WSpmOiYpIz/WC8OwI4mvvGAtNW5bmq/F70YA== Content-Language: fr X-Provags-ID: V03:K1:4ZHxUGWNQoXWemSsj1gtfGYwDZmKdAfV/HhWyMBMDNyI7QF6thY uf4l6CJrY0k4pI5nJZX+OcpRItzxDpRCzgIkrZKcqgqkuGctCOl4jKgIISdLLZWBDe/aFA1 WQmEv7zqa76GHE8ALKOqu1yQZmKnR3Jndv3Hdzr0h9pTcHz+WvvaxgYLVodYQxt031gMN9P asWvhpTatdlZBoAN7TL8Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EkH36JKUSis=:aFEIbQJVE2d++aBkrwe586 Hule/6RhiHmP8YqBprpfC3cWrsrpvMp6CY31Wk6qRb7UVIzkjL/ZRksGke29LQ6pYY8hjyQJx B0JaR5eKHqzaEt0O1+X5wEqRb+r6BA7QyeIZE4pGCQZSc6vbrSmNHbnhoqI66iVCHZYJQ6rTR ZP+GyNPgYc4cGZQ+CVKz7Mq67aZVWU2KN/2kPcs5yId5FZ2oyozq3TPYAEeOtTz03BaPKFLFP 6CLVVNXc9/oZcI/jRmyus/ZDSbDLvJZpSTf/tHtWPAaGwCT7kwbfKGCgEvuEQEt1T9DV72uWj uiCQhX4v91VqXjxbz0qQBY3sKIZAMnEjDhUvm6YhjODhUjtqIKyNOwOPutwJJjZGrUMKD5MmM g11V452FXLXA2CWhv/P7zh4rNwneJcFlWOC0Y8QFzt+DMo54KSiRB4dJ6bjrHuCmlhR4qhMNC V3clRnsI9GcJUjJPgi0+hYWKSCKA+TEXM5vB5P7hdbG5j1itZA42jNnzNgHtm3TfW+dWI5oi/ ssFWXDM47Q9DTxdGJiKxnM= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_0115_01D7655A.94AC49A0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, =20 I don=E2=80=99t see a problem in your configuration. But your parameter = log_rotation_age (1440 min =3D 1 day) will lead to a log rotation based = on time and it is every day in your case. It will rotate on size only if = you have more than 700MB of log per day. =20 Michel SALAIS =20 De : still Learner =20 Envoy=C3=A9 : vendredi 18 juin 2021 14:19 =C3=80 : Michel SALAIS Cc : pgsql-admin Objet : Re: STDERR not logging after a fix log size =20 @Michael Vitale, Yes I have done the reload. =20 @Michel SALAIS, Please find the result of the query. =20 =09 name | setting | = unit=20 -----------------------------+-------------------------------------+-----= - log_autovacuum_min_duration | 1000 | ms log_checkpoints | on |=20 log_connections | on |=20 log_destination | stderr |=20 log_directory | log |=20 log_disconnections | off |=20 log_duration | off |=20 log_error_verbosity | default |=20 log_executor_stats | off |=20 log_file_mode | 0600 |=20 log_filename | postgresql-%Y-%m-%d_%H%M%S.log |=20 log_hostname | off |=20 log_line_prefix | %t [%p]: [%h] [%l-1] user=3D%u,db=3D%d | = log_lock_waits | on |=20 log_min_duration_statement | 2000 | ms log_min_error_statement | error |=20 log_min_messages | warning |=20 log_parser_stats | off |=20 log_planner_stats | off |=20 log_replication_commands | off |=20 log_rotation_age | 1440 | min log_rotation_size | 716800 | kB log_statement | none |=20 log_statement_stats | off |=20 log_temp_files | -1 | kB log_timezone | Asia/Kolkata |=20 log_truncate_on_rotation | off |=20 logging_collector | on |=20 (28 rows) =20 On Fri, Jun 18, 2021 at 4:59 PM Michel SALAIS > wrote: Hi, =20 What is the result of the following query? =20 Select name, setting, unit