]> granicus.if.org Git - apache/commitdiff
Update transformations
authorVincent Bray <noodl@apache.org>
Fri, 23 Nov 2007 21:41:12 +0000 (21:41 +0000)
committerVincent Bray <noodl@apache.org>
Fri, 23 Nov 2007 21:41:12 +0000 (21:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@597745 13f79535-47bb-0310-9956-ffa450edef68

docs/man/rotatelogs.8
docs/manual/mod/mod_proxy.html.en
docs/manual/mod/mod_proxy.xml.ja
docs/manual/programs/rotatelogs.html.en
docs/manual/programs/rotatelogs.xml.ko
docs/manual/programs/rotatelogs.xml.meta

index 8ce61467aa47431693f5a96cf9f083ad2ad1b175..a6549fecb1aea2c8c9b09d650286f5bf4d6d1b0f 100644 (file)
@@ -19,7 +19,7 @@
 .el .ne 3
 .IP "\\$1" \\$2
 ..
-.TH "ROTATELOGS" 8 "2007-11-20" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2007-11-23" "Apache HTTP Server" "rotatelogs"
 
 .SH NAME
 rotatelogs \- Piped logging program to rotate Apache logs
@@ -33,7 +33,7 @@ rotatelogs \- Piped logging program to rotate Apache logs
 .SH "SUMMARY"
  
 .PP
-rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature\&.
+rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature\&. It supports rotation based on a time interval or maximum size of the log\&.
  
 
 .SH "OPTIONS"
@@ -44,16 +44,16 @@ rotatelogs is a simple program for use in conjunction with Apache's piped logfil
 Causes the use of local time rather than GMT as the base for the interval or for strftime(3) formatting with size-based rotation\&. 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\&.  
+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\&. For example, if a rotation time of 86400 is specified, the hour, minute, and second fields created by strftime(3) format will all be zero, referring to the beginning of the current 24-hour period (midnight)\&.  
 .TP
 \fIrotationtime\fR
-The time between log file rotations in seconds\&.  
+The time between log file rotations in seconds\&. The rotation occurs at the beginning of this interval\&. For example, if the rotation time is 3600, the log file will be rotated at the beginning of every hour; if the rotation time is 86400, the log file will be rotated every night at midnight\&. (If no data is logged during an interval, no file will be created\&.)  
+.TP
+\fIfilesize\fRM
+The maximum file size in megabytes followed by the letter M to specify size rather than time\&.  
 .TP
 \fIoffset\fR
 The number of minutes offset from UTC\&. If omitted, zero is assumed and UTC is used\&. For example, to use local time in the zone UTC -5 hours, specify a value of -300 for this argument\&. In most cases, -l should be used instead of specifying an offset\&.  
-.TP
-\fIfilesize\fRM
-The maximum file size in megabytes followed by the letter M to specify size rather than time\&. Use this parameter in place of rotationtime\&.  
  
 .SH "EXAMPLES"
  
index 81fbcd613df1707c7d667195eacbe5352cc7efd0..367fbe48166118e71f9bb56a6e83fafc76e57737 100644 (file)
@@ -767,7 +767,7 @@ through</td></tr>
     <code>/mirror/foo/i</code>.</p>
 
     <div class="note"><h3>Note</h3>
-      <p>Order is important. you need to put the exclusions <em>before</em> the
+      <p>Order is important: exclusions must come <em>before</em> the
       general <code class="directive">ProxyPass</code> directive.</p>
     </div>
 
index a2bf42598aa4509553138815dee3e286f7a67e96..18ca69601523fd512809686f014a6f0c8b7f2833 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-2022-jp"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 189754:589371 (outdated) -->
+<!-- English Revision: 189754:597744 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 64e0ab1bf4f4494c3ffc2640eb8ffb5caccf3538..e692acbe55fed12558521f17616cd795d1f1b748 100644 (file)
@@ -23,7 +23,8 @@
 </div>
 
      <p><code>rotatelogs</code> is a simple program for use in
-     conjunction with Apache's piped logfile feature.</p>
+     conjunction with Apache's piped logfile feature.  It supports
+     rotation based on a time interval or maximum size of the log.</p>
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
@@ -59,11 +60,24 @@ includes any '%' characters, it is treated as a format string for
 <code>strftime(3)</code>.  Otherwise, the suffix
 <var>.nnnnnnnnnn</var> is automatically added and is the time in
 seconds.  Both formats compute the start time from the beginning of
-the current period.</dd>
+the current period.  For example, if a rotation time of 86400 is 
+specified, the hour, minute, and second fields created by
+<code>strftime(3)</code> format will all be zero, referring to the
+beginning of the current 24-hour period (midnight).</dd>
 
 <dt><code><var>rotationtime</var></code></dt>
 
-<dd>The time between log file rotations in seconds.</dd>
+<dd>The time between log file rotations in seconds.  The rotation
+occurs at the beginning of this interval.  For example, if the
+rotation time is 3600, the log file will be rotated at the beginning
+of every hour; if the rotation time is 86400, the log file will be
+rotated every night at midnight.  (If no data is logged during an
+interval, no file will be created.)</dd>
+
+<dt><code><var>filesize</var>M</code></dt>
+
+<dd>The maximum file size in megabytes followed by the letter
+<code>M</code> to specify size rather than time.</dd>
 
 <dt><code><var>offset</var></code></dt>
 
@@ -73,11 +87,6 @@ UTC -5 hours, specify a value of <code>-300</code> for this argument.
 In most cases, <code>-l</code> should be used instead of specifying
 an offset.</dd>
 
-<dt><code><var>filesize</var>M</code></dt>
-
-<dd>The maximum file size in megabytes followed by the letter
-<code>M</code> to specify size rather than time.  Use this parameter
-in place of rotationtime.</dd>
 </dl>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
index 2e9a1374b704b6eab3bed761a2786b0e6a31642f..65d21ef795538ca5adeb79d84fd7f1330d927613 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 420993 -->
+<!-- English Revision: 420993:596884 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 6426888332c2b8c0ec9a1b51b883a02436b297ff..0316ff9177bd778108eefd78fd915399c303b704 100644 (file)
@@ -7,6 +7,6 @@
 
   <variants>
     <variant>en</variant>
-    <variant>ko</variant>
+    <variant outdated="yes">ko</variant>
   </variants>
 </metafile>