]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
update transformation
authorAndré Malo <nd@apache.org>
Sat, 4 Sep 2004 14:38:30 +0000 (14:38 +0000)
committerAndré Malo <nd@apache.org>
Sat, 4 Sep 2004 14:38:30 +0000 (14:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104953 13f79535-47bb-0310-9956-ffa450edef68

docs/man/rotatelogs.8
docs/manual/programs/rotatelogs.html.en

index da10ea79a1b8e9c06b8330904411520badf66d89..91fee9177b6ba272ab2e0a600042aacf4155858b 100644 (file)
@@ -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 @@ rotatelogs \- Piped logging program to rotate Apache logs
 .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 @@ This configuration will rotate the error logfile whenever it reaches a size of 5
 .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\&.  
index 91e721cf3aa19cb4cc5a63a4d0128f496d4666b8..4f233f37fe68b4e69bdd0a54ad5bdf696b720fb5 100644 (file)
@@ -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>
 
 <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>
 
 <dd>The path plus basename of the logfile.  If <var>logfile</var>