summaryrefslogtreecommitdiffstats
path: root/docs/manual/programs
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2013-06-07 03:51:31 +0200
committerEric Covener <covener@apache.org>2013-06-07 03:51:31 +0200
commitdab3bc1339ef23a00adcff57a0f958dd6f7b9b7b (patch)
tree0f124e370863b03ebcb1ba9f323cc3f4804601f8 /docs/manual/programs
parentPR55069 include line number in 'AH00113: cannot use a full URL in a 401 Error... (diff)
downloadapache2-dab3bc1339ef23a00adcff57a0f958dd6f7b9b7b.tar.xz
apache2-dab3bc1339ef23a00adcff57a0f958dd6f7b9b7b.zip
rotatelogs: add -n number-of-files option to roate through a number
of fixed-name logfiles. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1490493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/programs')
-rw-r--r--docs/manual/programs/rotatelogs.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/programs/rotatelogs.xml b/docs/manual/programs/rotatelogs.xml
index bae96f8435..f6c6aec508 100644
--- a/docs/manual/programs/rotatelogs.xml
+++ b/docs/manual/programs/rotatelogs.xml
@@ -41,6 +41,7 @@
[ -<strong>v</strong> ]
[ -<strong>e</strong> ]
[ -<strong>c</strong> ]
+ [ -<strong>n</strong> <var>number-of-files</var> ]
<var>logfile</var>
<var>rotationtime</var>|<var>filesize</var>(B|K|M|G)
[ <var>offset</var> ]</code></p>
@@ -102,6 +103,11 @@ processed in real time by a further tool in the chain.</dd>
<dt><code>-c</code></dt>
<dd>Create log file for each interval, even if empty.</dd>
+<dt><code>-n <var>number-of-files</var></code></dt>
+<dd>Use a circular list of filenames without timestamps.
+With -n 3, the series of log files opened would be
+"logfile", "logfile.1", "logfile.2", then overwriting "logfile".</dd>
+
<dt><code><var>logfile</var></code></dt>
<dd><p>The path plus basename of the logfile. If <var>logfile</var>