1 # $Id: apache-mod_log_config.conf,v 1.3 2005/12/19 15:13:03 glen Exp $
2 LoadModule log_config_module modules/mod_log_config.so
4 <IfModule log_config_module>
6 # The following directives define some format nicknames for use with
7 # a CustomLog directive (see below).
9 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
10 LogFormat "%h %l %u %t \"%r\" %>s %b" common
12 <IfModule logio_module>
13 # You need to enable mod_logio.c to use %I and %O
14 LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
18 # The location and format of the access logfile (Common Logfile Format).
19 # If you do not define any access logfiles within a <VirtualHost>
20 # container, they will be logged here. Contrariwise, if you *do*
21 # define per-<VirtualHost> access logfiles, transactions will be
22 # logged therein and *not* in this file.
24 CustomLog logs/access_log common
27 # If you prefer a logfile with access, agent, and referer information
28 # (Combined Logfile Format) you can use the following directive.
30 #CustomLog logs/access_log combined