Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0a24c70

Browse files
committed
Add mention of log file rotation with mention of syslog SIGHUP capability.
1 parent 75a8d11 commit 0a24c70

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/src/sgml/maintenance.sgml

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.3 2001/09/09 23:52:12 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.4 2001/09/23 04:06:24 momjian Exp $
33
-->
44

55
<chapter id="maintenance">
@@ -33,9 +33,12 @@ $Header: /cvsroot/pgsql/doc/src/sgml/maintenance.sgml,v 1.3 2001/09/09 23:52:12
3333
<xref linkend="routine-vacuuming">.
3434
</para>
3535

36-
<!-- probably ought to have something about log rotation here;
37-
any other important maintenance tasks?
38-
-->
36+
<para>
37+
It is also necessary to rotate the database server log file that is specified
38+
when the <application>postmaster</application> is started. If you are using
39+
<application>syslog</application>, you can send a <literal>SIGHUP</literal>
40+
signal to the syslog daemon to force it to start writing a new log file.
41+
</para>
3942

4043
<para>
4144
<productname>PostgreSQL</productname> is low-maintenance compared to

0 commit comments

Comments
 (0)