From: Ken Coar
- $Revision: 1.51 $ ($Date: 1997/05/04 16:44:08 $)
+ $Revision: 1.52 $ ($Date: 1997/05/04 17:05:25 $)
The latest version of this FAQ is always available from the main
@@ -54,7 +54,6 @@
-
@@ -166,6 +165,9 @@
Apache Server Frequently Asked Questions
+ Apache provides a couple of different ways of doing this. The + recommended method is to compile the + mod_log_config + module into your configuration and use the + CustomLog + directive. +
++ You can either log the additional information in files other than your + normal transfer log, or you can add them to the records already being + written. For example: +
+
+
+ CustomLog logs/access_log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\""
+
+
+ This will add the values of the User-agent: and + Referer: headers, which indicate the client and the + referring page, respectively, to the end of each line in the access + log. +
+