From 41a312a1f63050ba961032e3e3fca6f718a02c0c 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 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index d9ebb9869f..e05685dd92 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ - + Server Configuration @@ -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. + +