2 # The following directives define some format nicknames for use with
3 # a CustomLog directive.
7 # Format string: Nickname:
9 LogFormat "%h %l %u %t \"%r\" %>s %b" common
10 LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
11 LogFormat "%{Referer}i -> %U" referer
12 LogFormat "%{User-agent}i" agent
13 LogFormat "%h %l %u %t \"%r\" %>s %b \
14 \"%{Referer}i\" \"%{User-Agent}i\"" combined
15 LogFormat "%v %h %l %u %t \"%r\" %>s %b \
16 \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
18 # To use %I and %O, you need to enable mod_logio
19 <IfModule mod_logio.c>
20 LogFormat "%h %l %u %t \"%r\" %>s %b \
21 \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
24 # Use one of these when you want a compact non-error SSL logfile on a virtual
27 Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
29 Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
30 \"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined