Re: Proposal: More structured logging
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Magnus Hagander <magnus@hagander.net>,
Michael Paquier <michael@paquier.xyz>
Cc: Ronan Dunklau <ronan.dunklau@aiven.io>,
PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>,
Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2021-09-01T07:35:19Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix ruleutils.c's dumping of whole-row Vars in more contexts.
- 43c2175121c8 15.0 cited
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.