log_min_messages
英文手册覆盖始于 PostgreSQL 7.4. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 18·选择有来源记录的版本
- boot val
- warning
- category
- Reporting and Logging / When to Log
- context
- superuser
- documented
- true
- enumvals
- debug5, debug4, debug3, debug2, debug1, info, notice, warning, error, log, fatal, panic
- extra desc
- Each level includes all the levels that follow it. The later the level, the fewer messages are sent.
- lang
- en
- max val
- 未知
- metadata version
- 18
- min val
- 未知
- name
- log_min_messages
- short desc
- Sets the message levels that are logged.
- source
- pg-settings-source-snapshot
- unit
- 未知
- vartype
- enum
版本定义 PG 18
控制将哪些消息级别写入服务器日志。有效值为DEBUG5,DEBUG4,DEBUG3,DEBUG2,DEBUG1,INFO,NOTICE,WARNING,ERROR,LOG,FATAL和 PANIC。每个级别包括其后的所有级别。级别越高,发送到日志的消息越少。默认值为WARNING。请注意,在client_min_messages中,LOG的排名不同。只有超级用户和具有适当SET权限的用户才能更改此设置。
比较版本
来源引用
定义来源
center · PostgreSQL 18 · english-manuals:9bb0a6a8fc69849aef41deb59adbf215f9ace2e85df937b68ee7f69b47ce03bd
正文语言: zh-Hans · 2026-09-11@29c86d9