summaryrefslogtreecommitdiff
path: root/templates/apache2.conf.stretch.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apache2.conf.stretch.erb')
-rw-r--r--templates/apache2.conf.stretch.erb6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/apache2.conf.stretch.erb b/templates/apache2.conf.stretch.erb
index 5484297..b358b22 100644
--- a/templates/apache2.conf.stretch.erb
+++ b/templates/apache2.conf.stretch.erb
@@ -198,10 +198,12 @@ Include /etc/apache2/conf.d/*
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
-LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
-LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
+LogFormat "%t \"%r\" %>s %b" anon
LogFormat "%t \"%r\" %>s %b"
#