]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_log_config.conf
- use logs/ symlink for log dirs
[packages/apache.git] / apache-mod_log_config.conf
CommitLineData
86dece47
ER
1# $Id$
2LoadModule log_config_module modules/mod_log_config.so
3
4<IfModule log_config_module>
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
11
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>
16
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 #
afdf33fc 24 CustomLog logs/access_log common
86dece47
ER
25
26 #
27 # If you prefer a logfile with access, agent, and referer information
28 # (Combined Logfile Format) you can use the following directive.
29 #
afdf33fc 30 #CustomLog logs/access_log combined
86dece47 31</IfModule>
This page took 0.034147 seconds and 4 git commands to generate.