From: Bruce Momjian Date: Mon, 15 Mar 2004 14:15:45 +0000 (+0000) Subject: Mention Linux syslog will sync lines to disk, and describe how to X-Git-Tag: REL8_0_0BETA1~992 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10afaf472a89f46ca0ac570bd88bdf4e40f42bed;p=postgresql Mention Linux syslog will sync lines to disk, and describe how to disable it. --- diff --git a/doc/TODO b/doc/TODO index 8400395ce4..6da74a7748 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,6 +1,6 @@ TODO list for PostgreSQL ======================== -Last updated: Sat Mar 13 18:17:39 EST 2004 +Last updated: Mon Mar 15 09:06:53 EST 2004 Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index f8372b4f29..e1af27c6ee 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -1,5 +1,5 @@ @@ -464,13 +464,19 @@ VACUUM rotation, the logrotate program can be configured to work with log files from syslog. + + + On many systems, however, syslog is not very reliable, + particularly with large log messages; it may truncate or drop messages + just when you need them the most. Also, on linux, + syslog will sync each message to disk, yielding poor + performance. Use a - at the start of the file name + in the syslog config file to disable this behavior. - On many systems, however, syslog is not very reliable, particularly - with large log messages; it may truncate or drop messages just when - you need them the most. You may find it more useful to pipe the + You may find it more useful to pipe the stderr of the postmaster to some type of log rotation program. If you start the server with pg_ctl, then the stderr of the postmaster