汇报和日志记录/日志记录位置

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置在强制日志文件轮换之前等待的时间量。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件在轮换之前可以达到的最大大小。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置在强制日志文件轮换之前等待的时间量。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件在轮换之前可以达到的最大大小。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 分钟后发生。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 千字节之后发生。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 分钟后发生。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 千字节之后发生。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 分钟后发生。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 千字节之后发生。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages

事件源

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识事件日志中的 PostgreSQL 消息的应用程序名称。
数据类型 字符串
默认值 PostgreSQL
允许的值 PostgreSQL
参数类型 只读的
Documentation event_source

log_destination

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置服务器日志输出的目标。
数据类型 枚举
默认值 stderr
允许的值 stderr,csvlog
参数类型 dynamic
Documentation log_destination

日志目录

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的目标目录。
数据类型 字符串
默认值 log
允许的值 log
参数类型 只读的
Documentation log_directory

日志文件模式

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件权限。
数据类型 整数
默认值 0600
允许的值 0600
参数类型 只读的
Documentation log_file_mode

日志文件名 (log_filename)

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置日志文件的文件名模式。
数据类型 字符串
默认值 postgresql-%Y-%m-%d_%H%M%S.log
允许的值 postgresql-%Y-%m-%d_%H%M%S.log
参数类型 只读的
Documentation log_filename

日志收集器

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 启动子进程,以将 stderr 输出和/或 csvlog 捕获到日志文件中。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation logging_collector

日志轮换年龄

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 分钟后发生。
数据类型 整数
默认值 60
允许的值 60
参数类型 只读的
Documentation log_rotation_age

日志轮换大小

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 自动日志文件轮换将在 N 千字节之后发生。
数据类型 整数
默认值 102400
允许的值 102400
参数类型 只读的
Documentation 日志旋转大小

日志在轮换时截短

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 在日志轮换期间截断同名的现有日志文件。
数据类型 布尔
默认值 off
允许的值 off
参数类型 只读的
Documentation log_truncate_on_rotation

syslog_facility

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置启用 syslog 时要使用的 syslog“设施”。
数据类型 枚举
默认值 local0
允许的值 local0
参数类型 只读的
Documentation syslog_facility

syslog_ident

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 设置用于标识 syslog 中的 PostgreSQL 消息的程序名称。
数据类型 字符串
默认值 postgres
允许的值 postgres
参数类型 只读的
Documentation syslog_ident

syslog_序列号

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 将序列号添加到 syslog 消息,以避免重复抑制。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_sequence_numbers

syslog_split_messages

Attribute 价值
类别 汇报和日志记录/日志记录位置
Description 按行拆分发送到 syslog 的消息,使其不超过 1024 字节。
数据类型 布尔
默认值 on
允许的值 on
参数类型 只读的
Documentation syslog_split_messages