{"Entry":{"collection":"guc","key":"syslog_ident","name":"syslog_ident","aliases":[],"metadata":{"baseline":true,"boot_human":"Not specified","boot_val":null,"category":"Reporting and Logging / Where to Log","category_zh":"","changed_in":[],"changes":[{"documentation_changed":true,"fields":{},"from":"7.4","status":"changed","to":"8.0"},{"documentation_changed":true,"fields":{},"from":"8.0","status":"changed","to":"8.1"},{"documentation_changed":true,"fields":{},"from":"8.1","status":"changed","to":"8.2"},{"documentation_changed":true,"fields":{},"from":"9.0","status":"changed","to":"9.1"}],"content_hash":"804c91a4a51f19d663fa4524f766943f2f6566352cc2d5b3768cf02d6aff85f3","context":"","default_changed_in":[],"default_history":[{"from":"9.0","to":"19","value":"postgres"}],"editorial":{"advice":{"olap":"Test syslog_ident under bursty analytical messages and multiline plans so splitting or receiver limits do not destroy record boundaries.","oltp":"Set syslog_ident to match the receiving syslog daemon's routing, framing, deduplication, and message-size contract; validate failover and backpressure with the real collector.","small":"Prefer the host's established syslog convention for syslog_ident; avoid parallel local-file retention unless it has an explicit purpose and size limit."},"mechanism":["syslog_ident sets the program name used to identify PostgreSQL messages in syslog. The ident labels PostgreSQL records in syslog and can distinguish clusters when combined with facility or host metadata.","syslog_ident is a SIGHUP-context setting: a configuration reload activates the new server value without a restart; subsequent operations that consult it use the refreshed value.","It is active only when syslog appears in log_destination, after which the facility, ident, sequence, splitting, host daemon, and remote receiver jointly define record delivery."],"pitfalls":["Editing syslog_ident without reloading configuration and verifying the effective value and subsequent behavior.","Changing PostgreSQL framing or identifiers without testing the host daemon and remote receiver as one pipeline.","Assuming syslog preserves unlimited message size, multiline boundaries, ordering, or repeated records by default.","Changing syslog_ident globally without a rollback plan and a client or operational compatibility test."],"references":[{"title":"PostgreSQL 19 Beta 4: syslog_ident","url":"https://www.postgresql.org/docs/19/runtime-config-logging.html#GUC-SYSLOG-IDENT"},{"title":"PostgreSQL 19 release notes","url":"https://www.postgresql.org/docs/19/release-19.html"}],"related":["log_destination","syslog_facility","syslog_sequence_numbers","syslog_split_messages","logging_collector"],"summary":"syslog_ident is the PostgreSQL setting that defines the program name used to identify PostgreSQL messages in syslog."},"enumvals":[],"first_version":"7.4","group":"Reporting and Logging","group_slug":"logging","imported_at":"2026-09-30T00:40:57.818048+08:00","intro_commit":{},"key":"syslog_ident","last_version":"20","max_val":"","min_val":"","name":"syslog_ident","position":403,"present_in":["7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"short_desc":"When logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs.","short_desc_zh":"","source_rev":"english-manuals:553c42c879b57eed9a1973d6c6a69584339fc735438ea619f3b9afb38b74ee6c","unit":"","vartype":"string"}},"Definition":{"Collection":"guc","Key":"syslog_ident","SourceDatabase":"center","Version":"18","SourceTable":"guc","SourceKey":"syslog_ident","SourceRevision":"english-manuals:553c42c879b57eed9a1973d6c6a69584339fc735438ea619f3b9afb38b74ee6c","Facts":{"boot_val":"postgres","category":"Reporting and Logging / Where to Log","context":"sighup","description":"When logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs. The default is postgres. This parameter can only be set in the postgresql.conf file or on the server command line.","doc":{"anchor":"GUC-SYSLOG-IDENT","file":"runtime-config-logging.html","lang":"en","sha256":"93c48c522a72fca19705c4c91a71e951eae653662008eee2e4a9a74a11127fde","slug":"18"},"documented":true,"enumvals":null,"extra_desc":null,"lang":"en","max_val":null,"metadata_version":"18","min_val":null,"name":"syslog_ident","short_desc":"Sets the program name used to identify PostgreSQL messages in syslog.","source":"pg-settings-source-snapshot","unit":null,"vartype":"string"},"ManualEvidence":{"doc":{"anchor":"GUC-SYSLOG-IDENT","file":"runtime-config-logging.html","lang":"en","sha256":"93c48c522a72fca19705c4c91a71e951eae653662008eee2e4a9a74a11127fde","slug":"18"}},"MeasuredEvidence":{"metadata_version":"18"}},"Text":{"Collection":"guc","Key":"syslog_ident","SourceDatabase":"center","Version":"18","Locale":"en","Title":"syslog_ident","Summary":"When logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs. The default is postgres. This parameter can only be set in the postgresql.conf file or on the server command line.","BodyHTML":"\u003cp\u003eWhen logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs. The default is postgres. This parameter can only be set in the postgresql.conf file or on the server command line.\u003c/p\u003e","SourceRevision":"english-manuals:553c42c879b57eed9a1973d6c6a69584339fc735438ea619f3b9afb38b74ee6c","ContentHash":"5a421ec549559c4125034a202bd2ff9da9570919c528bbbb4184c07c22a098b4","Payload":{"description":"When logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs. The default is postgres. This parameter can only be set in the postgresql.conf file or on the server command line."}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
