From: Tom Lane Date: Sat, 20 Oct 2007 04:00:38 +0000 (+0000) Subject: Add a note pointing out that you can't log to syslog without tweaking X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c80edaaec2e0bee76b4f8f248d01f1dda8c4470c;p=users%2Fbernd%2Fpostgres.git Add a note pointing out that you can't log to syslog without tweaking the syslog configuration file (at least not on most known Unixen). I dunno why we hadn't had that info in the docs all along ... --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 563d5e131c..3d5c8cf1a8 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -2299,6 +2299,25 @@ SELECT * FROM parent WHERE key = 2400; logging_collector must be enabled to generate CSV-format log output. + + + + On most Unix systems, you will need to alter the configuration of + your system's syslog daemon in order + to make use of the syslog option for + log_destination. PostgreSQL + can log to syslog facilities + LOCAL0 through LOCAL7 (see ), but the default + syslog configuration on most platforms + will discard all such messages. You will need to add something like + +local0.* /var/log/postgresql + + to the syslog daemon's configuration file + to make it work. + +