]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
xforms
authorEric Covener <covener@apache.org>
Mon, 28 Mar 2022 00:18:05 +0000 (00:18 +0000)
committerEric Covener <covener@apache.org>
Mon, 28 Mar 2022 00:18:05 +0000 (00:18 +0000)
[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1899273 13f79535-47bb-0310-9956-ffa450edef68

docs/man/rotatelogs.8
docs/manual/howto/http2.html.en
docs/manual/howto/http2.xml.es
docs/manual/howto/http2.xml.fr
docs/manual/howto/http2.xml.meta
docs/manual/programs/rotatelogs.html.en
docs/manual/programs/rotatelogs.xml.fr
docs/manual/programs/rotatelogs.xml.ko
docs/manual/programs/rotatelogs.xml.meta
docs/manual/programs/rotatelogs.xml.tr

index eba61bcc5b8ca1a5a83384b1544c44b72cb5c1c7..5fd32a4dd2d9c4d640f0e2da2885607fb2433688 100644 (file)
@@ -19,7 +19,7 @@
 .el .ne 3
 .IP "\\$1" \\$2
 ..
-.TH "ROTATELOGS" 8 "2020-06-10" "Apache HTTP Server" "rotatelogs"
+.TH "ROTATELOGS" 8 "2022-03-28" "Apache HTTP Server" "rotatelogs"
 
 .SH NAME
 rotatelogs \- Piped logging program to rotate Apache logs
@@ -68,7 +68,7 @@ Echo logs through to stdout\&. Useful when logs need to be further processed in
 Create log file for each interval, even if empty\&.  
 .TP
 \fB-n \fInumber-of-files\fR\fR
-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"\&. Available in 2\&.4\&.5 and later\&.  
+Use a circular list of filenames without timestamps\&. This option overwrites log files at startup and during rotation\&. With -n 3, the series of log files opened would be "logfile", "logfile\&.1", "logfile\&.2", then overwriting "logfile"\&. When this program first opens "logfile", the file will only be truncated if \fB-t\fR is also provided\&. Every subsequent rotation will always begin with truncation of the target file\&. For size based rotation without \fB-t\fR and existing log files in place, this option may result in unintuitive behavior such as initial log entries being sent to "logfile\&.1", and entries in "logfile\&.1" not being preserved even if later "logfile\&.n" have not yet been used\&. Available in 2\&.4\&.5 and later\&.  
 .TP
 \fB\fIlogfile\fR\fR
 .PP The path plus basename of the logfile\&. If \fIlogfile\fR includes any '%' characters, it is treated as a format string for \fBstrftime(3)\fR\&. Otherwise, the suffix \fI\&.nnnnnnnnnn\fR is automatically added and is the time in seconds (unless the -t option is used)\&. 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 from the \fBstrftime(3)\fR format will all be zero, referring to the beginning of the current 24-hour period (midnight)\&. .PP When using \fBstrftime(3)\fR filename formatting, be sure the log file format has enough granularity to produce a different file name each time the logs are rotated\&. Otherwise rotation will overwrite the same file instead of starting a new one\&. For example, if \fIlogfile\fR was \fB/var/log/errorlog\&.%Y-%m-%d\fR with log rotation at 5 megabytes, but 5 megabytes was reached twice in the same day, the same log file name would be produced and log rotation would keep writing to the same file\&. .PP If the logfile is not an absolute path, it is relative to \fBrotatelogs\fR' working directory, which is the ServerRoot when \fBrotatelogs\fR is run by the server\&.  
index e95ffe13ccae856f38446b0f6787cc4383b355ee..5fbfd4378bf3c7def9b26d542c4f7932123840a5 100644 (file)
@@ -89,7 +89,7 @@
     <p><code class="module"><a href="../mod/mod_http2.html">mod_http2</a></code> uses the library of <a href="https://nghttp2.org">nghttp2</a>
     as its implementation base. In order to build <code class="module"><a href="../mod/mod_http2.html">mod_http2</a></code> you need at least version 1.2.1 of
     <code>libnghttp2</code> installed on your system.</p>
-    <p>When you <code>./configure</code> you Apache httpd source tree, you need to give it 
+    <p>When you <code>./configure</code> your Apache httpd source tree, you need to give it 
     '<code>--enable-http2</code>' as additional argument to trigger the build of the module.
     Should your <code>libnghttp2</code> reside in an unusual place (whatever that is on your
     operating system), you may announce its location with '<code>--with-nghttp2=&lt;path&gt;</code>'
index 9f9a0e0e5f4ba24199b41da5b13c00e9467574b1..ef66c56e8468e3d59fd15c10bf2f9c58db6fb6ae 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1834265:1878549 (outdated) -->
+<!-- English Revision: 1834265:1899235 (outdated) -->
 <!-- Spanish translation : Daniel Ferradal -->
 <!-- Reviewed & updated by Luis Gil de Bernabé Pfeiffer lgilbernabe[AT]apache.org -->
 
index f67ec92075744124437ce6a0fcff50bea4922b66..aa6383c64274dd88c1dd837d2875022f33d2e5f6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1878549 -->
+<!-- English Revision: 1878549:1899235 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index cd0a8de06449bcb6c600a0c0793cc5d67bb7b64f..9b93a6fba040cab29c5e5e4115e69024276a5b0b 100644 (file)
@@ -9,6 +9,6 @@
   <variants>
     <variant>en</variant>
     <variant outdated="yes">es</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
   </variants>
 </metafile>
index d09063406db5c1fc8fa9d67fd54866684b74d5ff..de3417cd1a2eadc88a79735342f96bd8c6ed144e 100644 (file)
@@ -126,9 +126,16 @@ processed in real time by a further tool in the chain.</dd>
 <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>Use a circular list of filenames without timestamps. This option overwrites 
+log files at startup and during rotation.  With -n 3, the series of log 
+files opened would be "logfile", "logfile.1", "logfile.2", then overwriting 
+"logfile". 
+<br />
+When this program first opens "logfile", the file will only be truncated if <code>-t</code> is also provided. Every subsequent rotation will
+always begin with truncation of the target file.  For size based rotation without <code>-t</code> and existing log files in place,
+this option may result in unintuitive behavior such as initial log entries being sent to "logfile.1", and entries in "logfile.1" not being preserved
+even if later "logfile.n" have not yet been used.
+<br />
 Available in 2.4.5 and later.</dd>
 
 <dt><code><var>logfile</var></code></dt>
index 02521039f1242577eb8ec8be3998328f5ef14be9..1dea19f3cd7a32d36a2358671c2a9a341ebb4c53 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1877709 -->
+<!-- English Revision: 1877709:1899270 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 37852e4e8ec8a875ca70cdcd2eac71763ae21a90..4c49f5397c921d0f9fcc361051f41eeeae5abedb 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:1877709 (outdated) -->
+<!-- English Revision: 420993:1899270 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 48448a255571713d44ad8bcddf53eb43f209e946..20244d44f281cfb05f525ff84badf3cc5c558aa2 100644 (file)
@@ -8,8 +8,8 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ko</variant>
-    <variant>tr</variant>
+    <variant outdated="yes">tr</variant>
   </variants>
 </metafile>
index 5c5ca1f442f65e16964eefe6d4d14b5a3349ecae..011ff6f323e026d8cc5a1769481a43682dfcdba5 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1877709 -->
+<!-- English Revision: 1877709:1899270 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
    Reviewed by: Orhan Berent <berent belgeler.gen.tr>