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 1lYUP8-0001Gm-0g for pgsql-general@arkaria.postgresql.org; Mon, 19 Apr 2021 13:57:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lYUP6-0002rb-Tk for pgsql-general@arkaria.postgresql.org; Mon, 19 Apr 2021 13:57:32 +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 1lYUP6-0002rU-M4 for pgsql-general@lists.postgresql.org; Mon, 19 Apr 2021 13:57:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lYUP0-0005Ow-Em for pgsql-general@lists.postgresql.org; Mon, 19 Apr 2021 13:57:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 13JDvORt208290; Mon, 19 Apr 2021 09:57:24 -0400 From: Tom Lane To: =?UTF-8?Q?Filip_Rembia=C5=82kowski?= cc: pgsql-general Subject: Re: postgres in container, redirect csvlog to stderr In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Filip_Rembia=C5=82kowski?= message dated "Mon, 19 Apr 2021 12:44:49 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <208288.1618840644.1@sss.pgh.pa.us> Date: Mon, 19 Apr 2021 09:57:24 -0400 Message-ID: <208289.1618840644@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?UTF-8?Q?Filip_Rembia=C5=82kowski?= writes: > Is it possible to emit csvlog to standard output/error? No. We assume that random third-party code might write plain text messags to stderr, so trying to impose a format on that wouldn't be very successful. regards, tom lane