Re: Proposal: More structured logging
Ronan Dunklau <ronan.dunklau@aiven.io>
From: Ronan Dunklau <ronan.dunklau@aiven.io>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@lists.postgresql.org
Date: 2022-01-18T05:46:03Z
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
Attachments
- v6-0001-Add-ErrorTag-support.patch (text/x-patch)
Le lundi 17 janvier 2022, 09:18:04 CET Ronan Dunklau a écrit : > Le samedi 15 janvier 2022, 07:09:59 CET Julien Rouhaud a écrit : > > Hi, > > > > On Tue, Jan 11, 2022 at 11:05:26AM +0100, Ronan Dunklau wrote: > > > Done, and I added anoher commit per your suggestion to add this comment. > > > > The cfbot reports that the patchset doesn't apply anymore: > > > > http://cfbot.cputube.org/patch_36_3293.log > > === Applying patches on top of PostgreSQL commit ID > > 43c2175121c829c8591fc5117b725f1f22bfb670 === [...] > > === applying patch ./v4-0003-Output-error-tags-in-CSV-logs.patch > > [...] > > patching file src/backend/utils/error/elog.c > > Hunk #2 FAILED at 3014. > > 1 out of 2 hunks FAILED -- saving rejects to file > > src/backend/utils/error/elog.c.rej > > > > Could you send a rebased version? In the meantime I will switch the cf > > entry to Waiting on Author. > > Thank you for this notification ! > > The csvlog has been refactored since I wrote the patch, and the new jsonlog > destination has been introduced. I rebased to fix the first patch, and added > a new patch to add support for tags in jsonlog output. > > Best regards, Hum, there was a missing import in csvlog.c from the fix above. Sorry about that. -- Ronan Dunklau