You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/09/04 16:38:30 UTC
cvs commit: httpd-2.0/docs/manual/programs rotatelogs.html.en
nd 2004/09/04 07:38:30
Modified: docs/man Tag: APACHE_2_0_BRANCH rotatelogs.8
docs/manual/programs Tag: APACHE_2_0_BRANCH
rotatelogs.html.en
Log:
update transformation
Revision Changes Path
No revision
No revision
1.10.2.11 +5 -2 httpd-2.0/docs/man/rotatelogs.8
Index: rotatelogs.8
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/man/rotatelogs.8,v
retrieving revision 1.10.2.10
retrieving revision 1.10.2.11
diff -u -u -r1.10.2.10 -r1.10.2.11
--- rotatelogs.8 28 Apr 2004 22:07:30 -0000 1.10.2.10
+++ rotatelogs.8 4 Sep 2004 14:38:30 -0000 1.10.2.11
@@ -19,7 +19,7 @@
.el .ne 3
.IP "\\$1" \\$2
..
-.TH "ROTATELOGS" 8 "2004-04-28" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2004-09-04" "Apache HTTP Server" "rotatelogs"
.SH NAME
rotatelogs \- Piped logging program to rotate Apache logs
@@ -27,7 +27,7 @@
.SH "SYNOPSIS"
.PP
-\fBrotatelogs\fR \fIlogfile\fR [ \fIrotationtime\fR [ \fIoffset\fR ]] | [ \fIfilesize\fRM ]
+\fBrotatelogs\fR [ -\fBl\fR ] \fIlogfile\fR [ \fIrotationtime\fR [ \fIoffset\fR ]] | [ \fIfilesize\fRM ]
.SH "SUMMARY"
@@ -66,6 +66,9 @@
.SH "OPTIONS"
+.TP
+-l (\fI2\&.0\&.51 and later\fR)
+Causes the use of local time rather than GMT as the base for the interval\&. Note that using -l in an environment which changes the GMT offset (such as for BST or DST) can lead to unpredictable results!
.TP
\fIlogfile\fR
The path plus basename of the logfile\&. If \fIlogfile\fR includes any '%' characters, it is treated as a format string for strftime(3)\&. Otherwise, the suffix \fI\&.nnnnnnnnnn\fR is automatically added and is the time in seconds\&. Both formats compute the start time from the beginning of the current period\&.
No revision
No revision
1.1.2.8 +8 -1 httpd-2.0/docs/manual/programs/rotatelogs.html.en
Index: rotatelogs.html.en
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/programs/rotatelogs.html.en,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -u -r1.1.2.7 -r1.1.2.8
--- rotatelogs.html.en 7 May 2004 08:21:09 -0000 1.1.2.7
+++ rotatelogs.html.en 4 Sep 2004 14:38:30 -0000 1.1.2.8
@@ -59,7 +59,9 @@
<div class="section">
<h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
- <p><code><strong>rotatelogs</strong> <var>logfile</var>
+ <p><code><strong>rotatelogs</strong>
+ [ -<strong>l</strong> ]
+ <var>logfile</var>
[ <var>rotationtime</var> [ <var>offset</var> ]] |
[ <var>filesize</var>M ]</code></p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
@@ -67,6 +69,11 @@
<h2><a name="options" id="options">Options</a></h2>
<dl>
+
+<dt><code>-l</code> (<em>2.0.51 and later</em>)</dt>
+<dd>Causes the use of local time rather than GMT as the base for the
+interval. Note that using <code>-l</code> in an environment which changes the
+GMT offset (such as for BST or DST) can lead to unpredictable results!</dd>
<dt><code><var>logfile</var></code></dt>