From c80edaaec2e0bee76b4f8f248d01f1dda8c4470c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 20 Oct 2007 04:00:38 +0000 Subject: [PATCH] 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 ... --- doc/src/sgml/config.sgml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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. + + -- 2.39.5