log_destination

A GUC configuration parameter determining the destination logging facility

log_destination is a GUC configuration parameter determining the destination logging facility or facilities.

log_destination was added in PostgreSQL 8.0.

Default and permissible values

Default value for log_destination is stderr.

Permissible values are:

  • stderr
  • csvlog
  • syslog
  • eventlog

Multiple values can be combined as a comma-separated list, e.g.:

log_destination = 'stderr,csvlog'

Change history

Categories

GUC configuration item, Logging

See also

log_directory, pg_current_logfile()