[deployment-guide/comm-rel: 504/727] Updated the ErrorLog directive description.

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:07:16 UTC 2010


commit a14de330eaabfe0ead41ca573faefbe0f65d8cd9
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Aug 26 15:15:23 2010 +0200

    Updated the ErrorLog directive description.

 en-US/The_Apache_HTTP_Server.xml |   34 ++++++++++++++++------------------
 1 files changed, 16 insertions(+), 18 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index 79f894b..0b592c0 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -885,25 +885,23 @@ ErrorDocument 404 /404-not_found.html</screen>
             </example>
           </listitem>
         </varlistentry>
+        <varlistentry>
+          <term><option>ErrorLog</option></term>
+          <listitem>
+            <para>
+              The <option>ErrorLog</option> directive allows you to specify a file to which the server errors are logged. It takes the following form:
+            </para>
+            <screen>ErrorLog <replaceable>filename</replaceable></screen>
+            <para>
+              The default option is <filename>logs/error_log</filename>
+            </para>
+            <example id="example-apache-httpdconf-errorlog">
+              <title>Using the <option>ErrorLog</option> directive</title>
+              <screen>ErrorLog logs/error_log</screen>
+            </example>
+          </listitem>
+        </varlistentry>
       </variablelist>
-      <formalpara id="s2-apache-errorlog">
-        <title>ErrorLog</title>
-        <indexterm>
-          <primary><command>ErrorLog</command></primary>
-          <secondary>Apache configuration directive</secondary>
-        </indexterm>
-        <indexterm>
-          <primary>configuration directives, Apache</primary>
-          <secondary><command>ErrorLog</command></secondary>
-        </indexterm>
-        <para>
-          <command>ErrorLog</command> specifies the file where server errors are logged. By default, this directive is set to <filename>/var/log/httpd/error_log</filename>.
-        </para>
-      </formalpara>
-      <indexterm>
-        <primary>troubleshooting</primary>
-        <secondary>error log</secondary>
-      </indexterm>
       <formalpara id="s2-apache-extendedstatus">
         <title>ExtendedStatus</title>
         <indexterm>


More information about the docs-commits mailing list