Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
19a495ca
Commit
19a495ca
authored
May 14, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly document rotatelogs, and add mention of it to pg_ctl manual page.
parent
0cb27df5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
doc/src/sgml/maintenance.sgml
doc/src/sgml/maintenance.sgml
+4
-4
doc/src/sgml/ref/pg_ctl-ref.sgml
doc/src/sgml/ref/pg_ctl-ref.sgml
+6
-6
No files found.
doc/src/sgml/maintenance.sgml
View file @
19a495ca
<!--
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.3
3 2004/04/05 03:02:03
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/maintenance.sgml,v 1.3
4 2004/05/14 20:01:19
momjian Exp $
-->
<chapter id="maintenance">
...
...
@@ -461,7 +461,7 @@ VACUUM
you can send a <literal>SIGHUP</literal> signal to the
<application>syslog</> daemon whenever you want to force it to
start writing a new log file. If you want to automate log
rotation, the <application>
logrotate
</application> program can be
rotation, the <application>
rotatelogs
</application> program can be
configured to work with log files from
<application>syslog</application>.
</para>
...
...
@@ -484,12 +484,12 @@ VACUUM
pipe command:
<programlisting>
pg_ctl start |
logrotate
pg_ctl start |
rotatelogs /var/log/pgsql_log 86400
</programlisting>
The <productname>PostgreSQL</> distribution doesn't include a
suitable log rotation program, but there are many available on the
Internet. For example, the <application>
logrotate
</application>
Internet. For example, the <application>
rotatelogs
</application>
tool included in the <productname>Apache</productname> distribution
can be used with <productname>PostgreSQL</productname>.
</para>
...
...
doc/src/sgml/ref/pg_ctl-ref.sgml
View file @
19a495ca
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
5 2003/11/29 19:51:39 pgsql
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.2
6 2004/05/14 20:01:19 momjian
Exp $
PostgreSQL documentation
-->
...
...
@@ -87,13 +87,13 @@ PostgreSQL documentation
server is started in the background, and standard input is attached to
<filename>/dev/null</filename>. The standard output and standard
error are either appended to a log file (if the <option>-l</option>
option is used), or redirected to
<application>pg_ctl</application>'s
option is used), or redirected to <application>pg_ctl</application>'s
standard output (not standard error). If no log file is chosen, the
standard output of <application>pg_ctl</application> should be redirected
to a file or piped to another process
, for example a log rotating program,
otherwise <command>postmaster</command> will write its output to the controlling
terminal (from the background) and will not leave the shell's
process group.
to a file or piped to another process
such as a log rotating program
like <application>rotatelogs</>; otherwise the <command>postmaster</command>
will write its output to the controlling terminal (from the background)
and will not leave the shell's
process group.
</para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment