11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.33 2004/04/05 03:02:03 momjian Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.34 2004/05/14 20:01:19 momjian Exp $
33-->
44
55<chapter id="maintenance">
@@ -461,7 +461,7 @@ VACUUM
461461 you can send a <literal>SIGHUP</literal> signal to the
462462 <application>syslog</> daemon whenever you want to force it to
463463 start writing a new log file. If you want to automate log
464- rotation, the <application>logrotate </application> program can be
464+ rotation, the <application>rotatelogs </application> program can be
465465 configured to work with log files from
466466 <application>syslog</application>.
467467 </para>
@@ -484,12 +484,12 @@ VACUUM
484484 pipe command:
485485
486486<programlisting>
487- pg_ctl start |logrotate
487+ pg_ctl start |rotatelogs /var/log/pgsql_log 86400
488488</programlisting>
489489
490490 The <productname>PostgreSQL</> distribution doesn't include a
491491 suitable log rotation program, but there are many available on the
492- Internet. For example, the <application>logrotate </application>
492+ Internet. For example, the <application>rotatelogs </application>
493493 tool included in the <productname>Apache</productname> distribution
494494 can be used with <productname>PostgreSQL</productname>.
495495 </para>