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.