Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41a312a

Browse files
committed
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 ...
1 parent638bd34 commit41a312a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.150 2007/10/09 18:14:01 neilc Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.151 2007/10/20 04:00:38 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -2299,6 +2299,25 @@ SELECT * FROM parent WHERE key = 2400;
22992299
<varname>logging_collector</varname> must be enabled to generate
23002300
CSV-format log output.
23012301
</para>
2302+
2303+
<note>
2304+
<para>
2305+
On most Unix systems, you will need to alter the configuration of
2306+
your system's <application>syslog</application> daemon in order
2307+
to make use of the <systemitem>syslog</systemitem> option for
2308+
<varname>log_destination</>. <productname>PostgreSQL</productname>
2309+
can log to <application>syslog</application> facilities
2310+
<literal>LOCAL0</> through <literal>LOCAL7</> (see <xref
2311+
linkend="guc-syslog-facility">), but the default
2312+
<application>syslog</application> configuration on most platforms
2313+
will discard all such messages. You will need to add something like
2314+
<programlisting>
2315+
local0.* /var/log/postgresql
2316+
</programlisting>
2317+
to the <application>syslog</application> daemon's configuration file
2318+
to make it work.
2319+
</para>
2320+
</note>
23022321
</listitem>
23032322
</varlistentry>
23042323

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp