diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-14 20:53:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-14 20:53:56 +0000 |
commit | abd3f43b4c6fb298fa1eb12fe8d78c6c3e6e0532 (patch) | |
tree | 5a6b47de21bedfbdee01fcb26ffaee1aeffaf829 /doc/src | |
parent | f620098dc809e15262a5b08187beb92d789d33cb (diff) | |
download | postgresql-abd3f43b4c6fb298fa1eb12fe8d78c6c3e6e0532.tar.gz postgresql-abd3f43b4c6fb298fa1eb12fe8d78c6c3e6e0532.zip |
Fix syslog bug: if any messages are emitted to write_syslog before
the facility has been set, the facility gets set to LOCAL0 and cannot
be changed later. This seems reasonably plausible to happen, particularly
at higher debug log levels, though I am not certain it explains Han Holl's
recent report. Easiest fix is to teach the code how to change the value
on-the-fly, which is nicer anyway. I made the settings PGC_SIGHUP to
conform with log_destination.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 9e695bad576..b02598a7bcd 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.28 2005/10/13 22:55:19 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.29 2005/10/14 20:53:55 tgl Exp $ --> <chapter Id="runtime-config"> <title>Run-time Configuration</title> @@ -2254,7 +2254,8 @@ SELECT * FROM parent WHERE key = 2400; the default is <literal>LOCAL0</>. See also the documentation of your system's <application>syslog</application> daemon. - This option can only be set at server start. + This option can only be set at server start or in the + <filename>postgresql.conf</filename> configuration file. </para> </listitem> </varlistentry> @@ -2271,7 +2272,8 @@ SELECT * FROM parent WHERE key = 2400; <productname>PostgreSQL</productname> messages in <application>syslog</application> logs. The default is <literal>postgres</literal>. - This option can only be set at server start. + This option can only be set at server start or in the + <filename>postgresql.conf</filename> configuration file. </para> </listitem> </varlistentry> @@ -2581,8 +2583,8 @@ SELECT * FROM parent WHERE key = 2400; <varname>log_statement</> to be logged. When using this option, if you are not using <application>syslog</>, it is recommended that you log the PID or session ID using <varname>log_line_prefix</> - so that you can link the statement to the - duration using the process ID or session ID. The default is + so that you can link the statement message to the later + duration message using the process ID or session ID. The default is <literal>off</>. Only superusers can change this setting. </para> </listitem> |