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

Commit10afaf4

Browse files
committed
Mention Linux syslog will sync lines to disk, and describe how to
disable it.
1 parente8c3205 commit10afaf4

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

‎doc/TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
TODO list for PostgreSQL
22
========================
3-
Last updated:Sat Mar13 18:17:39 EST 2004
3+
Last updated:Mon Mar15 09:06:53 EST 2004
44

55
Current maintainer:Bruce Momjian (pgman@candle.pha.pa.us)
66

‎doc/src/sgml/maintenance.sgml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.30 2003/12/14 00:10:32 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.31 2004/03/15 14:15:45 momjian Exp $
33
-->
44

55
<chapter id="maintenance">
@@ -464,13 +464,19 @@ VACUUM
464464
rotation, the <application>logrotate</application> program can be
465465
configured to work with log files from
466466
<application>syslog</application>.
467+
</para>
467468

469+
<para>
470+
On many systems, however, <application>syslog</> is not very reliable,
471+
particularly with large log messages; it may truncate or drop messages
472+
just when you need them the most. Also, on <productname>linux</>,
473+
<appication>syslog</> will sync each message to disk, yielding poor
474+
performance. Use a <literal>-</> at the start of the file name
475+
in the <application>syslog</> config file to disable this behavior.
468476
</para>
469477

470478
<para>
471-
On many systems, however, <application>syslog</> is not very reliable, particularly
472-
with large log messages; it may truncate or drop messages just when
473-
you need them the most. You may find it more useful to pipe the
479+
You may find it more useful to pipe the
474480
<systemitem>stderr</> of the <command>postmaster</> to some type of
475481
log rotation program. If you start the server with
476482
<command>pg_ctl</>, then the <systemitem>stderr</> of the <command>postmaster</command>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp