.el .ne 3
.IP "\\$1" \\$2
..
-.TH "ROTATELOGS" 8 "2004-04-25" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2004-06-11" "Apache HTTP Server" "rotatelogs"
.SH NAME
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"
.SH "OPTIONS"
+.TP
+-l
+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\&.
<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></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>
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 1.7 (outdated: 1.8) -->
+<!-- English Revision: 1.7 (outdated: 1.9) -->
<!--
Copyright 2004 The Apache Software Foundation