]>
Commit | Line | Data |
---|---|---|
86dece47 ER |
1 | # $Id$ |
2 | LoadModule log_config_module modules/mod_log_config.so | |
3 | ||
4 | <IfModule log_config_module> | |
779a2cb5 ER |
5 | # |
6 | # The following directives define some format nicknames for use with | |
7 | # a CustomLog directive (see below). | |
8 | # | |
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 | |
86dece47 | 11 | |
779a2cb5 ER |
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 | |
15 | </IfModule> | |
86dece47 | 16 | |
779a2cb5 ER |
17 | # |
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. | |
23 | # | |
24 | CustomLog logs/access_log common | |
86dece47 | 25 | |
779a2cb5 ER |
26 | # |
27 | # If you prefer a logfile with access, agent, and referer information | |
28 | # (Combined Logfile Format) you can use the following directive. | |
29 | # | |
30 | #CustomLog logs/access_log combined | |
86dece47 | 31 | </IfModule> |