[pgpool-hackers: 4555] Feature Request: jsonlog & csvlog options on log_destination configuration

Yukha Dharmeswara balabaabcd1234 at gmail.com
Fri Dec 27 15:46:19 JST 2024


On current version (v4.5.5), Pgpool only supports syslog & stderr for
log_destination while PostgreSQL supports csvlog since v8.3 & jsonlog since
v15. On the source code, I see trace of csvlog being implemented, but it is
not supported when I try it myself.
https://github.com/pgpool/pgpool2/blob/5752de9913d91788f6efe8338aca82dca0c694d5/src/include/utils/elog.h#L505

It'd be great addition especially on jsonlog because it is very convenient
for logging. If implemented just like on PostgreSQL, it will print the log
on a single-line rather than multiple-line when we increase the log level
such as displaying SQL Statement.

Best regards,
Yukha Dharmeswara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20241227/9260f36e/attachment.htm>


More information about the pgpool-hackers mailing list