You can now customize the log_line_prefix parameter for your Postgres databases. This setting controls the prefix format for each PostgreSQL log line, allowing you to include useful metadata like database name (%d), user name (%u), process ID (%p), and timestamp (%m) in your logs.
Fetched April 3, 2026