现在,在设置 log_destination 时,可以使用 jsonlog 参数将 PostgreSQL 日志输出为 JSON 格式。这提供了一种 "结构化日志",可供其他工具用于存储和分析。
log_destination
jsonlog