Re: Add jsonlog log_destination for JSON server logs

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, david(at)fetter(dot)org
Subject: Re: Add jsonlog log_destination for JSON server logs
Date: 2021-10-19 11:02:02
Message-ID: YW6lqsGieUn2IhKB@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 08, 2021 at 12:28:58PM +0900, Michael Paquier wrote:
> 0001 and 0003 have been applied independently, attached is a rebased
> version.

Attached are rebased versions of the patch set, where I have done a
cleaner split:
- 0001 includes all the refactoring of the routines from elog.c.
- 0002 moves csv logging into its own file.
- 0003 introduces the JSON log.

0001 and 0002, the refactoring bits, are in a rather committable
shape, so I'd like to apply that as the last refactoring pieces I know
of for this thread. 0003 still needs a closer lookup, and one part I
do not like much in it is the split for [u]int and long values when it
comes to key and values.
--
Michael

Attachment Content-Type Size
v6-0001-Some-refactoring-of-elog-specific-routines.patch text/x-diff 10.2 KB
v6-0002-Refactor-CSV-specific-code-into-its-own-file.patch text/x-diff 14.6 KB
v6-0003-JSON-logging.patch text/x-diff 29.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-10-19 11:09:28 Re: Fixing build of MSVC with OpenSSL 3.0.0
Previous Message Michael Paquier 2021-10-19 10:52:08 Re: Fixing build of MSVC with OpenSSL 3.0.0