From 4a2b5e06c25feee1380ac5f7c9bd14e34963042a Mon Sep 17 00:00:00 2001 From: Rainer Jung <rjung@apache.org> Date: Mon, 23 Aug 2010 11:34:55 +0000 Subject: [PATCH] Update transormations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@988078 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/logs.html.en | 18 ++++++++++++++++++ docs/manual/logs.html.fr | 2 ++ docs/manual/logs.xml.fr | 2 +- docs/manual/logs.xml.ja | 2 +- docs/manual/logs.xml.ko | 2 +- docs/manual/logs.xml.meta | 2 +- docs/manual/logs.xml.tr | 2 +- docs/manual/mod/core.html.en | 7 +++++-- docs/manual/mod/core.xml.de | 2 +- docs/manual/mod/core.xml.ja | 2 +- docs/manual/mod/core.xml.tr | 2 +- docs/manual/mod/mod_log_config.html.en | 3 ++- docs/manual/mod/mod_log_config.xml.ja | 2 +- docs/manual/mod/mod_log_config.xml.ko | 2 +- docs/manual/mod/mod_log_config.xml.tr | 2 +- 15 files changed, 38 insertions(+), 14 deletions(-) diff --git a/docs/manual/logs.html.en b/docs/manual/logs.html.en index decbee686d..92f26401bd 100644 --- a/docs/manual/logs.html.en +++ b/docs/manual/logs.html.en @@ -532,6 +532,24 @@ <p>As with conditional logging, piped logs are a very powerful tool, but they should not be used where a simpler solution like off-line post-processing is available.</p> + + <p>By default the piped log process is spawned without invoking + a shell. Use "<code>|$</code>" instead of "<code>|</code>" + to spawn using a shell (usually with <code>/bin/sh -c</code>):</p> + + <div class="example"><p><code> + # Invoke "rotatelogs" using a shell + CustomLog "|$/usr/local/apache/bin/rotatelogs + /var/log/access_log 86400" common + </code></p></div> + + <p>This was the default behaviour for Apache 2.2. + Depending on the shell specifics this might lead to + an additional shell process for the lifetime of the logging + pipe program and signal handling problems during restart. + For compatibility reasons with Apache 2.2 the notation + "<code>||</code>" is also supported and equivalent to using + "<code>|</code>".</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="virtualhost" id="virtualhost">Virtual Hosts</a></h2> diff --git a/docs/manual/logs.html.fr b/docs/manual/logs.html.fr index 86e244c749..e0c1a8d037 100644 --- a/docs/manual/logs.html.fr +++ b/docs/manual/logs.html.fr @@ -24,6 +24,8 @@ <a href="./ko/logs.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="./tr/logs.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div> +<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version + anglaise pour les changements récents.</div> <p>Pour véritablement gérer un serveur web, il est nécessaire de disposer d'un diff --git a/docs/manual/logs.xml.fr b/docs/manual/logs.xml.fr index b6fe416e8a..6f089c7620 100644 --- a/docs/manual/logs.xml.fr +++ b/docs/manual/logs.xml.fr @@ -3,7 +3,7 @@ <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> -<!-- English Revision: 979120 --> +<!-- English Revision: 979120:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/logs.xml.ja b/docs/manual/logs.xml.ja index 6ab29a189b..4ad0f39d56 100644 --- a/docs/manual/logs.xml.ja +++ b/docs/manual/logs.xml.ja @@ -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.ja.xsl"?> -<!-- English Revision: 659902:979120 (outdated) --> +<!-- English Revision: 659902:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/logs.xml.ko b/docs/manual/logs.xml.ko index 5a54f40e5a..b75e069c11 100644 --- a/docs/manual/logs.xml.ko +++ b/docs/manual/logs.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: 105989:979120 (outdated) --> +<!-- English Revision: 105989:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/logs.xml.meta b/docs/manual/logs.xml.meta index c7c4d3735a..553c8ac21e 100644 --- a/docs/manual/logs.xml.meta +++ b/docs/manual/logs.xml.meta @@ -8,7 +8,7 @@ <variants> <variant>en</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> <variant outdated="yes">ja</variant> <variant outdated="yes">ko</variant> <variant outdated="yes">tr</variant> diff --git a/docs/manual/logs.xml.tr b/docs/manual/logs.xml.tr index e3ea3c5cb2..9721fe804e 100644 --- a/docs/manual/logs.xml.tr +++ b/docs/manual/logs.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: 807930:979120 (outdated) --> +<!-- English Revision: 807930:988071 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 37584a8bf6..9658c43124 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -1035,13 +1035,16 @@ in case of an error</td></tr> </code></p></div> <p>If the <var>file-path</var> - begins with a pipe (|) then it is assumed to be a command to spawn - to handle the error log.</p> + begins with a pipe character "<code>|</code>" then it is assumed to be a + command to spawn to handle the error log.</p> <div class="example"><h3>Example</h3><p><code> ErrorLog "|/usr/local/bin/httpd_errors" </code></p></div> + <p>See the notes on <a href="../logs.html#piped">piped logs</a> for + more information.</p> + <p>Using <code>syslog</code> instead of a filename enables logging via syslogd(8) if the system supports it. The default is to use syslog facility <code>local7</code>, but you can override this by diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 71815c7b7a..812031b352 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?> -<!-- English Revision: 167959:987299 (outdated) --> +<!-- English Revision: 167959:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/core.xml.ja b/docs/manual/mod/core.xml.ja index 27adffa3b4..44a53856ff 100644 --- a/docs/manual/mod/core.xml.ja +++ b/docs/manual/mod/core.xml.ja @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> -<!-- English Revision: 669847:987299 (outdated) --> +<!-- English Revision: 669847:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/core.xml.tr b/docs/manual/mod/core.xml.tr index a4990fd7a2..05569868e6 100644 --- a/docs/manual/mod/core.xml.tr +++ b/docs/manual/mod/core.xml.tr @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?> -<!-- English Revision: 813376:987299 (outdated) --> +<!-- English Revision: 813376:988071 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/mod/mod_log_config.html.en b/docs/manual/mod/mod_log_config.html.en index 5050c7635d..e3d4d8f78a 100644 --- a/docs/manual/mod/mod_log_config.html.en +++ b/docs/manual/mod/mod_log_config.html.en @@ -365,7 +365,8 @@ <dt><var>pipe</var></dt> <dd>The pipe character "<code>|</code>", followed by the path to a program to receive the log information on its standard - input. + input. See the notes on <a href="../logs.html#piped">piped logs</a> + for more information. <div class="warning"><h3>Security:</h3> <p>If a program is used, then it will be run as the user who diff --git a/docs/manual/mod/mod_log_config.xml.ja b/docs/manual/mod/mod_log_config.xml.ja index ba2caa83f1..26b773a902 100644 --- a/docs/manual/mod/mod_log_config.xml.ja +++ b/docs/manual/mod/mod_log_config.xml.ja @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?> -<!-- English Revision: 579425:979120 (outdated) --> +<!-- English Revision: 579425:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/mod_log_config.xml.ko b/docs/manual/mod/mod_log_config.xml.ko index 907df54e9b..3474e066d3 100644 --- a/docs/manual/mod/mod_log_config.xml.ko +++ b/docs/manual/mod/mod_log_config.xml.ko @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="EUC-KR" ?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> -<!-- English Revision: 105989:979120 (outdated) --> +<!-- English Revision: 105989:988071 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/mod_log_config.xml.tr b/docs/manual/mod/mod_log_config.xml.tr index 3bfde9965c..3e2a798720 100644 --- a/docs/manual/mod/mod_log_config.xml.tr +++ b/docs/manual/mod/mod_log_config.xml.tr @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?> -<!-- English Revision: 723557:979120 (outdated) --> +<!-- English Revision: 723557:988071 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> -- 2.40.0