]>
Commit | Line | Data |
---|---|---|
90c973a6 MT |
1 | # |
2 | # The following directives define some format nicknames for use with | |
3 | # a CustomLog directive. | |
4 | # | |
5 | ||
6 | # | |
7 | # Format string: Nickname: | |
8 | # | |
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 | |
17 | ||
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 | |
22 | </IfModule> | |
23 | ||
24 | # Use one of these when you want a compact non-error SSL logfile on a virtual | |
25 | # host basis: | |
26 | <IfModule mod_ssl.c> | |
27 | Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \ | |
28 | \"%r\" %b" ssl_common | |
29 | Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \ | |
30 | \"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined | |
31 | </IfModule> |