syslog_ident
Read PG 18 manual ↗When logging to syslog is enabled, this parameter determines the program name used to identify PostgreSQL messages in syslog logs.
- Type
- string
- Context
- sighup
- Measured default
- postgres
- Unit
- —
- Metadata snapshot
- 18
Definition PG 18 manual
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.
Measured default history
| Version interval | Default |
|---|---|
| 9.0 – 19 | postgres |
Authored guidance from the GUC source snapshot; the version-specific manual above is the definition reference. View source ↗
How it works
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.
Operational considerations
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.
Workload guidance
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.
Version history 1
- PG 9.0 → 9.1changed
Related entries
Further reading
Definition snapshot: english-manuals:6d9b27e26809fbecf12b866a1eb… · English manual source