[deployment-guide/comm-rel: 526/727] Updated the LogLevel directive description.
Jaromir Hradilek
jhradile at fedoraproject.org
Tue Oct 19 13:09:09 UTC 2010
commit c026cd36dd06d66b63912b766690392462389cd0
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Tue Aug 31 14:35:08 2010 +0200
Updated the LogLevel directive description.
en-US/The_Apache_HTTP_Server.xml | 113 +++++++++++++++++++++++++++++++++-----
1 files changed, 99 insertions(+), 14 deletions(-)
---
diff --git a/en-US/The_Apache_HTTP_Server.xml b/en-US/The_Apache_HTTP_Server.xml
index fc69547..71122e5 100644
--- a/en-US/The_Apache_HTTP_Server.xml
+++ b/en-US/The_Apache_HTTP_Server.xml
@@ -1323,6 +1323,105 @@ ErrorDocument 404 /404-not_found.html</screen>
</example>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>LogLevel</option></term>
+ <listitem>
+ <para>
+ The <option>LogLevel</option> directive allows you to customize the verbosity level of the error log. It takes the following form:
+ </para>
+ <screen>LogLevel <replaceable>option</replaceable></screen>
+ <para>
+ The <replaceable>option</replaceable> has to be a valid keyword as described in <xref linkend="table-apache-httpdconf-loglevel" />. The default option is <option>warn</option>.
+ </para>
+ <table id="table-apache-httpdconf-loglevel">
+ <title>Available <option>LogLevel</option> options</title>
+ <tgroup cols="2">
+ <colspec colname="option" colnum="1" colwidth="20*" />
+ <colspec colname="description" colnum="2" colwidth="60*" />
+ <thead>
+ <row>
+ <entry>
+ Option
+ </entry>
+ <entry>
+ Description
+ </entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>
+ <option>emerg</option>
+ </entry>
+ <entry>
+ Only the emergency situations when the server cannot perform its work are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>alert</option>
+ </entry>
+ <entry>
+ All situations when an immediate action is required are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>crit</option>
+ </entry>
+ <entry>
+ All critical conditions are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>error</option>
+ </entry>
+ <entry>
+ All error messages are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>warn</option>
+ </entry>
+ <entry>
+ All warning messages are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>notice</option>
+ </entry>
+ <entry>
+ Even normal, but still significant situations are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>info</option>
+ </entry>
+ <entry>
+ Various informational messages are logged.
+ </entry>
+ </row>
+ <row>
+ <entry>
+ <option>debug</option>
+ </entry>
+ <entry>
+ Various debugging messages are logged.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <example id="example-apache-httpdconf-loglevel">
+ <title>Using the <option>LogLevel</option> directive</title>
+ <screen>LogLevel warn</screen>
+ </example>
+ </listitem>
+ </varlistentry>
</variablelist>
<formalpara id="s2-apache-indexoptions">
<title>IndexOptions</title>
@@ -1350,20 +1449,6 @@ ErrorDocument 404 /404-not_found.html</screen>
<para>
<command>IndexOptions</command> has a number of other parameters which can be set to control the appearance of server generated directories. The <command>IconHeight</command> and <command>IconWidth</command> parameters require the server to include HTML <command>HEIGHT</command> and <command>WIDTH</command> tags for the icons in server generated webpages. The <command>IconsAreLinks</command> parameter combines the graphical icon with the HTML link anchor, which contains the URL link target.
</para>
- <formalpara id="s2-apache-loglevel">
- <title>LogLevel</title>
- <indexterm>
- <primary><command>LogLevel</command></primary>
- <secondary>Apache configuration directive</secondary>
- </indexterm>
- <indexterm>
- <primary>configuration directives, Apache</primary>
- <secondary><command>LogLevel</command></secondary>
- </indexterm>
- <para>
- <command>LogLevel</command> sets how verbose the error messages in the error logs are. <command>LogLevel</command> can be set (from least verbose to most verbose) to <command>emerg</command>, <command>alert</command>, <command>crit</command>, <command>error</command>, <command>warn</command>, <command>notice</command>, <command>info</command>, or <command>debug</command>. The default <command>LogLevel</command> is <command>warn</command>.
- </para>
- </formalpara>
<formalpara id="s2-apache-maxkeepaliverequests">
<title>MaxKeepAliveRequests</title>
<indexterm>
More information about the docs-commits
mailing list