Re: Proposal: More structured logging
От | Sehrope Sarkuni |
---|---|
Тема | Re: Proposal: More structured logging |
Дата | |
Msg-id | CAH7T-apt6PKWfs0FJNgZKFRNct=e8khdsAjLrH9MB+SW4dU4QA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Proposal: More structured logging (Michael Paquier <michael@paquier.xyz>) |
Ответы |
Re: Proposal: More structured logging
|
Список | pgsql-hackers |
On Tue, Aug 24, 2021 at 7:22 PM Michael Paquier <michael@paquier.xyz> wrote:
From a code perspective, and while on it, we could split a bit elog.c
and move the log entries generated for each format into their own
file. That would be cleaner for CSV and JSON. As a whole I don't
have an objection with moving the JSON format into core. If one
proposes a patch, feel free to reuse the code from the module I have
released.
I had a patch that does exactly this from a few years ago. It started off copying a bunch out of your json logging module and adds it as a new "jsonlog" destination.
It needed some cleanup due to bit rot, but it now builds and works atop master. I'll post it in its own thread.
Regards,
-- Sehrope Sarkuni
Founder & CEO | JackDB, Inc. | https://www.jackdb.com/
В списке pgsql-hackers по дате отправления: