diff options
author | Eric Covener <covener@apache.org> | 2023-03-05 21:24:59 +0000 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2023-03-05 21:24:59 +0000 |
commit | df7ba2d6326561f67493aa83d35e6c06dea96ea6 (patch) | |
tree | 0d85ee85f0c961bb6795f7087043ec511e05b687 | |
parent | 4f3dd7e9ff2715aa9e44a67bea57854c5a75c154 (diff) | |
download | httpd-df7ba2d6326561f67493aa83d35e6c06dea96ea6.tar.gz |
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1908102 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | docs/man/rotatelogs.8 | 14 | ||||
-rw-r--r-- | docs/manual/mod/mod_md.html.en | 4 | ||||
-rw-r--r-- | docs/manual/mod/mod_md.xml.fr | 2 | ||||
-rw-r--r-- | docs/manual/mod/mod_md.xml.meta | 2 | ||||
-rw-r--r-- | docs/manual/programs/rotatelogs.html.en | 16 | ||||
-rw-r--r-- | docs/manual/programs/rotatelogs.xml.fr | 2 | ||||
-rw-r--r-- | docs/manual/programs/rotatelogs.xml.ko | 2 | ||||
-rw-r--r-- | docs/manual/programs/rotatelogs.xml.meta | 2 | ||||
-rw-r--r-- | docs/manual/programs/rotatelogs.xml.tr | 2 |
9 files changed, 39 insertions, 7 deletions
diff --git a/docs/man/rotatelogs.8 b/docs/man/rotatelogs.8 index e7a2e6cb36..29c35da3b6 100644 --- a/docs/man/rotatelogs.8 +++ b/docs/man/rotatelogs.8 @@ -19,7 +19,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "ROTATELOGS" 8 "2023-01-17" "Apache HTTP Server" "rotatelogs" +.TH "ROTATELOGS" 8 "2023-03-05" "Apache HTTP Server" "rotatelogs" .SH NAME rotatelogs \- Piped logging program to rotate Apache logs @@ -58,6 +58,9 @@ Creates the parent directories of the path that the log file will be placed in i \fB-t\fR Causes the logfile to be truncated instead of rotated\&. This is useful when a log is processed in real time by a command like tail, and there is no need for archived data\&. No suffix will be added to the filename, however format strings containing '%' characters will be respected\&. .TP +\fB-T\fR +Causes all but the initial logfile to be truncated when opened\&. This is useful when the format string contains something that will loop around, such as the day of the month\&. Available in 2\&.4\&.56 and later\&. +.TP \fB-v\fR Produce verbose output on STDERR\&. The output contains the result of the configuration parsing, and all file open and close actions\&. .TP @@ -129,6 +132,15 @@ This configuration will rotate the error logfile whenever it reaches a size of 5 .PP This creates the file \fB/var/log/logfile\fR, truncating the file at startup and then truncating the file once per day\&. It is expected in this scenario that a separate process (such as tail) would process the file in real time\&. +.nf + + CustomLog "|bin/rotatelogs -T /var/log/logfile\&.%d 86400" common + +.fi + +.PP +If the server is started (or restarted) on the first of the month, this appends to \fB/var/log/logfile\&.01\fR\&. When a log entry is written on the second of the month, \fB/var/log/logfile\&.02\fR is truncated and new entries will be added to the top\&. This example keeps approximately 1 months worth of logs without external maintenance\&. + .SH "PORTABILITY" .PP diff --git a/docs/manual/mod/mod_md.html.en b/docs/manual/mod/mod_md.html.en index 2afe818909..95c5e1bdc3 100644 --- a/docs/manual/mod/mod_md.html.en +++ b/docs/manual/mod/mod_md.html.en @@ -644,6 +644,10 @@ challenge available for wildcard certificates. If you require one of those, you need to configure this. </p><p> + It is now possible to use this directive inside a <code class="directive"><a href="#mdomain">MDomain</a></code> + section to specify a specific command for that domain. This allows to configure + a script specific for the particular DNS provider involved. + </p><p> See the section about wildcard certificates above for more details. </p> diff --git a/docs/manual/mod/mod_md.xml.fr b/docs/manual/mod/mod_md.xml.fr index 968dd90c44..5b9810a495 100644 --- a/docs/manual/mod/mod_md.xml.fr +++ b/docs/manual/mod/mod_md.xml.fr @@ -2,7 +2,7 @@ <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> <!-- French translation : Lucien GENTIS --> -<!-- English Revision: 1903678 --> +<!-- English Revision: 1903678:1908081 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/mod_md.xml.meta b/docs/manual/mod/mod_md.xml.meta index 252e729dc3..d6793f6042 100644 --- a/docs/manual/mod/mod_md.xml.meta +++ b/docs/manual/mod/mod_md.xml.meta @@ -8,6 +8,6 @@ <variants> <variant>en</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> </variants> </metafile> diff --git a/docs/manual/programs/rotatelogs.html.en b/docs/manual/programs/rotatelogs.html.en index 3f149b9e5c..e768ae8936 100644 --- a/docs/manual/programs/rotatelogs.html.en +++ b/docs/manual/programs/rotatelogs.html.en @@ -113,6 +113,13 @@ the filename, however format strings containing '%' characters will be respected. </dd> +<dt><code>-T</code></dt> +<dd>Causes all but the initial logfile to be truncated when opened. +This is useful when the format string contains something that will +loop around, such as the day of the month. Available in 2.4.56 and later. +</dd> + + <dt><code>-v</code></dt> <dd>Produce verbose output on STDERR. The output contains the result of the configuration parsing, and all file open and @@ -236,6 +243,15 @@ an offset.</dd> in this scenario that a separate process (such as tail) would process the file in real time.</p> +<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -T /var/log/logfile.%d 86400" common</pre> +</div> + +<p>If the server is started (or restarted) on the first of the month, this +appends to <code>/var/log/logfile.01</code>. When a log entry is written on the +second of the month, <code>/var/log/logfile.02</code> is truncated and new entries +will be added to the top. This example keeps approximately 1 months worth of +logs without external maintenance.</p> + </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="portability" id="portability">Portability</a></h2> diff --git a/docs/manual/programs/rotatelogs.xml.fr b/docs/manual/programs/rotatelogs.xml.fr index b5b3c6dc4d..35d8c84b96 100644 --- a/docs/manual/programs/rotatelogs.xml.fr +++ b/docs/manual/programs/rotatelogs.xml.fr @@ -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 : 1903934 --> +<!-- English Revision: 1903934:1908025 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/programs/rotatelogs.xml.ko b/docs/manual/programs/rotatelogs.xml.ko index d65716026f..dcaa683247 100644 --- a/docs/manual/programs/rotatelogs.xml.ko +++ b/docs/manual/programs/rotatelogs.xml.ko @@ -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:1903934 (outdated) --> +<!-- English Revision: 420993:1908025 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/programs/rotatelogs.xml.meta b/docs/manual/programs/rotatelogs.xml.meta index a0baa665bf..20244d44f2 100644 --- a/docs/manual/programs/rotatelogs.xml.meta +++ b/docs/manual/programs/rotatelogs.xml.meta @@ -8,7 +8,7 @@ <variants> <variant>en</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> <variant outdated="yes">ko</variant> <variant outdated="yes">tr</variant> </variants> diff --git a/docs/manual/programs/rotatelogs.xml.tr b/docs/manual/programs/rotatelogs.xml.tr index 9bb75cb5a1..f1191135e7 100644 --- a/docs/manual/programs/rotatelogs.xml.tr +++ b/docs/manual/programs/rotatelogs.xml.tr @@ -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: 1899270:1903934 (outdated) --> +<!-- English Revision: 1899270:1908025 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr> Reviewed by: Orhan Berent <berent belgeler.gen.tr> |