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 1mLKmU-0004pk-An for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Sep 2021 07:35: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 1mLKmT-0003kK-B2 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Sep 2021 07:35:33 +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 1mLKmT-0003kB-2W for pgsql-hackers@lists.postgresql.org; Wed, 01 Sep 2021 07:35:33 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLKmO-0007BP-KD for pgsql-hackers@lists.postgresql.org; Wed, 01 Sep 2021 07:35:32 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 48A8232000F9; Wed, 1 Sep 2021 03:35:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 01 Sep 2021 03:35:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=esA1gz4bMBJTN0r40ha6XwyL0mmWvF8fbufX0tGUe Pw=; b=hJeTZzodkFtoBs21pmbQyWTxf4JHN3WxK5kwuFj0Vca2FYMaDMhhNn02U ViaoxB7ympEJxU+Wv+WQJAZo2TwG0TD6SdnvriErzNvOwO1pnTowfsWoQYbWlcjL BAAu8k9zEYvyn1bPEp5hTDGtlz6ArdkKtaQ1Jw7x7hi2Ix2agnPuEkPxdqBgvYWZ LmNJAxwaE3k5IPpOME9NKYpojs4EfnDVq07YDqSkj/q9pp83SgwH9Y9Isd410SBV TiuetY/aAZNa4vxgWuqKLIQLLavhsnY/IHA032JIYCZ1iVc29ikkgu9M7SzCvxWp MKsG5IXBDoCaz34kImf7g3LdDyhnw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvvddguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeelveehheeuieduieet iedtkeeuteelfeetjeffieffudegvdffvdfftdeivdeukeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Sep 2021 03:35:20 -0400 (EDT) Subject: Re: Proposal: More structured logging To: Magnus Hagander , Michael Paquier Cc: Ronan Dunklau , PostgreSQL Developers , Alvaro Herrera References: <202108191450.7vik45yrlwle@alvherre.pgsql> <6062364.BDNAq9uPBk@aivenronan> From: Peter Eisentraut Message-ID: <982f9651-1607-d0bc-de85-c48a48952680@enterprisedb.com> Date: Wed, 1 Sep 2021 09:35:19 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 23.08.21 11:33, Magnus Hagander wrote: > In short, I would also support the presence of JSON log format in > core. (but as a proper log_destination of course -- or if it's time to > actually split that into a separaet thing, being one parameter for > log_destination and another for log_format) It would be useful if there was some kind of standardized schema for JSON logging, meaning what the keys should be named etc. Then we don't need to make this all up from scratch, and there could be some integration with existing log analysis tools.