Support jsonlog implementation #1119
Unanswered
JustinSongXh
asked this question in
Ideas / Feature Requests
Replies: 1 comment
-
Already replied in #1120, but would like to copy my reply here again for your information:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Since PostgreSQL 15, JSON format log is supported. And PostgreSQL supports writing logs both in CSV and JSON format. Should cloudberry include this support as it might be useful in some cases such as event extraction of history log and alerting.
Use case/motivation
Writing log in JSON format might be useful when user want to extract data from a more completed format rather than a
simply comma split csv format. Directly parsing csv format log would be confusing if log field changed or one sql statement has to be written in multiple lines such as:
Since PostgreSQL starts to support both CSV and JSON log writing, it would be helpful to cherry-pick corresponding commits and make adaptation.
Related issues
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions