aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-10-20 04:00:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-10-20 04:00:38 +0000
commit41a312a1f63050ba961032e3e3fca6f718a02c0c (patch)
treeaa0df05ecc0bd63a3c1184382462317adabce785 /doc/src
parent638bd34f899fbcbb6571458be8e8e09d82c70020 (diff)
downloadpostgresql-41a312a1f63050ba961032e3e3fca6f718a02c0c.tar.gz
postgresql-41a312a1f63050ba961032e3e3fca6f718a02c0c.zip
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 ...
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index d9ebb9869f6..e05685dd92b 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.150 2007/10/09 18:14:01 neilc Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.151 2007/10/20 04:00:38 tgl Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
@@ -2299,6 +2299,25 @@ SELECT * FROM parent WHERE key = 2400;
<varname>logging_collector</varname> must be enabled to generate
CSV-format log output.
</para>
+
+ <note>
+ <para>
+ On most Unix systems, you will need to alter the configuration of
+ your system's <application>syslog</application> daemon in order
+ to make use of the <systemitem>syslog</systemitem> option for
+ <varname>log_destination</>. <productname>PostgreSQL</productname>
+ can log to <application>syslog</application> facilities
+ <literal>LOCAL0</> through <literal>LOCAL7</> (see <xref
+ linkend="guc-syslog-facility">), but the default
+ <application>syslog</application> configuration on most platforms
+ will discard all such messages. You will need to add something like
+<programlisting>
+local0.* /var/log/postgresql
+</programlisting>
+ to the <application>syslog</application> daemon's configuration file
+ to make it work.
+ </para>
+ </note>
</listitem>
</varlistentry>