<!--#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:
<ul>
<li><A HREF="#logformat">LogFormat</A>
<li><A HREF="#transferlog">TransferLog</A>
+<LI><A HREF="#customlog">CustomLog</A>
</ul>
<hr>
<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>
<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
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>