现在,当设置 log_destination 时,可以使用 jsonlog 参数以 JSON 格式输出 PostgreSQL 日志。这提供了一种“结构化日志”,可供其他实用程序用于存储和分析。
log_destination
jsonlog