{"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"}],"derived_content_hash":"21e454b4163692580ef84ee734fefd451d69084d3a1abe94b62a15ee03e765ca","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:d52d0871f5429b8f5fd2cb3a6e3e07e54f370a7a3131e5ece30b17ad193d60a0","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"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"],"repair_provenance":{"original_source_revision":"english-manuals:553c42c879b57eed9a1973d6c6a69584339fc735438ea619f3b9afb38b74ee6c","receipt_sha256":"935ca679df4d1e9cf95a1cc4d1eba451dcf439423e9b75bd911d54f25e6bebdc","repair":"wiki-repair-20261023"},"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":"wiki-repair-20261023:d52d0871f5429b8f5fd2cb3a6e3e07e54f370a7a3131e5ece30b17ad193d60a0","unit":"","vartype":"string"}},"Definition":{"Collection":"guc","Key":"syslog_ident","SourceDatabase":"center","Version":"18","SourceTable":"guc","SourceKey":"syslog_ident","SourceRevision":"wiki-repair-20261023:d52d0871f5429b8f5fd2cb3a6e3e07e54f370a7a3131e5ece30b17ad193d60a0","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.","description_zh":"当启用了向 syslog 记录时，这个参数决定用来标识 syslog 中的 PostgreSQL 消息的程序名。默认值是 postgres。这个参数只能在 postgresql.conf 文件中或在服务器命令行上设置。","description_zh_html":"\u003cp\u003e\n         当启用了向 \u003cspan class=\"application\"\u003esyslog\u003c/span\u003e 记录时，这个参数决定用来标识 \u003cspan class=\"application\"\u003esyslog\u003c/span\u003e 中的 \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e 消息的程序名。默认值是 \u003ccode class=\"literal\"\u003epostgres\u003c/code\u003e。这个参数只能在 \u003ccode class=\"filename\"\u003epostgresql.conf\u003c/code\u003e 文件中或在服务器命令行上设置。\n        \u003c/p\u003e","doc":{"anchor":"GUC-SYSLOG-IDENT","file":"runtime-config-logging.html","lang":"en","sha256":"278d913b9c0f735c5cd7b35fd7205826bbd9c449805370d2dbe54105c0ed1d88","slug":"18"},"doc_html":"\u003cp\u003e\n         When logging to \u003cspan class=\"application\"\u003esyslog\u003c/span\u003e is enabled, this parameter\n         determines the program name used to identify\n         \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e messages in\n         \u003cspan class=\"application\"\u003esyslog\u003c/span\u003e logs. The default is\n         \u003ccode class=\"literal\"\u003epostgres\u003c/code\u003e.\n         This parameter can only be set in the \u003ccode class=\"filename\"\u003epostgresql.conf\u003c/code\u003e\n         file or on the server command line.\n        \u003c/p\u003e","doc_same_as":"","documentation_revision":{"inputs":[{"file":"runtime-config-logging.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"278d913b9c0f735c5cd7b35fd7205826bbd9c449805370d2dbe54105c0ed1d88","version":"18.7"},{"file":"runtime-config-logging.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"68c010254e1859ec0b76f06a563babd51a6c38997f1242e35e4c6b649724b1cb","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"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","translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/runtime-config-logging.html","sha256":"a322f5293f10e348b5fc5dca98fdb6af52462723a215b8701c3b9d933e2933b4"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"unit":null,"vartype":"string","zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"GUC-SYSLOG-IDENT","file":"runtime-config-logging.html","lang":"en","sha256":"278d913b9c0f735c5cd7b35fd7205826bbd9c449805370d2dbe54105c0ed1d88","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\u003e\n         When logging to \u003cspan\u003esyslog\u003c/span\u003e is enabled, this parameter\n         determines the program name used to identify\n         \u003cspan\u003ePostgreSQL\u003c/span\u003e messages in\n         \u003cspan\u003esyslog\u003c/span\u003e logs. The default is\n         \u003ccode\u003epostgres\u003c/code\u003e.\n         This parameter can only be set in the \u003ccode\u003epostgresql.conf\u003c/code\u003e\n         file or on the server command line.\n        \u003c/p\u003e","SourceRevision":"wiki-repair-20261023:d52d0871f5429b8f5fd2cb3a6e3e07e54f370a7a3131e5ece30b17ad193d60a0","ContentHash":"cf5d55611c0ed2bef9b9d68ae5832260afda162752218cf8a32271e68145b9db","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":"en","Fallback":false,"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","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
