mirror of
https://github.com/apache/httpd.git
synced 2025-12-24 15:01:03 +03:00
Update mod_log_config to reflect standard status and new directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -8,15 +8,13 @@
|
||||
<!--#include virtual="header.html" -->
|
||||
<H1>Module mod_log_config</h1>
|
||||
|
||||
This module is contained in the <code>mod_log_config.c</code> file, and is not
|
||||
compiled in by default. It provides for logging of the requests made to
|
||||
This module is contained in the <code>mod_log_config.c</code> file,
|
||||
and is compiled in by default in Apache 1.2. mod_log_config replaces
|
||||
mod_log_common in Apache 1.2. Prior to version 1.2, mod_log_config was
|
||||
an optional module. It provides for logging of the requests made to
|
||||
the server, using a user-specified format.
|
||||
|
||||
<h2>Summary</h2>
|
||||
This is an EXPERIMENTAL module, which implements the TransferLog directive
|
||||
(same as the common log module), and an additional directive, LogFormat.
|
||||
Bugs would not surprise me.<P>
|
||||
|
||||
The argument to the <A HREF="#logformat">LogFormat</A> is a string, which can
|
||||
include literal characters copied into the log files, and `%' directives as
|
||||
follows:
|
||||
@@ -94,6 +92,7 @@ changes to come to this format.<p>
|
||||
<ul>
|
||||
<li><A HREF="#logformat">LogFormat</A>
|
||||
<li><A HREF="#transferlog">TransferLog</A>
|
||||
<LI><A HREF="#customlog">CustomLog</A>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
@@ -104,7 +103,7 @@ changes to come to this format.<p>
|
||||
<strong>Default:</strong> <code>LogFormat "%h %l %u %t \"%r\"
|
||||
%s %b"</code><br>
|
||||
<Strong>Context:</strong> server config, virtual host<br>
|
||||
<strong>Status:</strong> Experimental<br>
|
||||
<strong>Status:</strong> Base<br>
|
||||
<strong>Module:</strong> mod_log_config<p>
|
||||
|
||||
This sets the format of the logfile.<p><hr>
|
||||
@@ -115,7 +114,7 @@ This sets the format of the logfile.<p><hr>
|
||||
<strong>Syntax:</strong> TransferLog <em>file-pipe</em><br>
|
||||
<strong>Default:</strong> <code>TransferLog logs/transfer_log</code><br>
|
||||
<Strong>Context:</strong> server config, virtual host<br>
|
||||
<strong>Status:</strong> Experimental<br>
|
||||
<strong>Status:</strong> Base<br>
|
||||
<strong>Module:</strong> mod_log_config<p>
|
||||
|
||||
The TransferLog directive sets the name of the file to which the server will
|
||||
@@ -132,6 +131,15 @@ the TransferLog from the main server.
|
||||
run under the user who started httpd. This will be root if the server
|
||||
was started by root; be sure that the program is secure.<p>
|
||||
|
||||
<A NAME="customlog"><H2>CustomLog</H2></A>
|
||||
<STRONG>Syntax:</STRONG> CustomLog <em>file-pipe</em> <em>format</em><BR>
|
||||
<STRONG>Context:</STRONG> server config, virtual host<BR>
|
||||
<STRONG>Status:</STRONG> Base<BR>
|
||||
<STRONG>Module:</STRONG> mod_log_config<P>
|
||||
|
||||
CustomLog combines TransferLog and LogFormat -- the format specified
|
||||
to this directive is logged to the file or pipe specified.<P>
|
||||
|
||||
<!--#include virtual="footer.html" -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user