You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Sameer Parekh <sa...@hyperreal.com> on 1996/11/26 07:02:04 UTC
cvs commit: apache/htdocs/manual/mod mod_log_config.html
sameer 96/11/25 22:02:03
Modified: htdocs/manual/mod mod_log_config.html
Log:
Update mod_log_config to reflect standard status and new directive
Revision Changes Path
1.3 +16 -8 apache/htdocs/manual/mod/mod_log_config.html
Index: mod_log_config.html
===================================================================
RCS file: /export/home/cvs/apache/htdocs/manual/mod/mod_log_config.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C3 -r1.2 -r1.3
*** mod_log_config.html 1996/11/21 10:30:50 1.2
--- mod_log_config.html 1996/11/26 06:02:02 1.3
***************
*** 8,22 ****
<!--#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
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:
--- 8,20 ----
<!--#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 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>
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,99 ****
--- 92,98 ----
<ul>
<li><A HREF="#logformat">LogFormat</A>
<li><A HREF="#transferlog">TransferLog</A>
+ <LI><A HREF="#customlog">CustomLog</A>
</ul>
<hr>
***************
*** 104,110 ****
<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>Module:</strong> mod_log_config<p>
This sets the format of the logfile.<p><hr>
--- 103,109 ----
<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> Base<br>
<strong>Module:</strong> mod_log_config<p>
This sets the format of the logfile.<p><hr>
***************
*** 115,121 ****
<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>Module:</strong> mod_log_config<p>
The TransferLog directive sets the name of the file to which the server will
--- 114,120 ----
<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> Base<br>
<strong>Module:</strong> mod_log_config<p>
The TransferLog directive sets the name of the file to which the server will
***************
*** 131,136 ****
--- 130,144 ----
<strong>Security:</strong> if a program is used, then it will be
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>