]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Enable other log formats
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Jun 2018 12:22:29 +0000 (09:22 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Jun 2018 12:22:29 +0000 (09:22 -0300)
templates/apache2.conf.jessie.erb
templates/apache2.conf.stretch.erb
templates/apache2.conf.trusty.erb
templates/apache2.conf.wheezy.erb
templates/apache2.conf.xenial.erb

index 9e5cde6cd4e2323d67c0e4e1d1621d4d3f5f08b9..5484297b53858dd647d65496f84e879365234311 100644 (file)
@@ -198,10 +198,10 @@ 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 "%{Referer}i -> %U" referer
-#LogFormat "%{User-agent}i" agent
+LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
 LogFormat "%t \"%r\"  %>s %b"
 
 #
index 9e5cde6cd4e2323d67c0e4e1d1621d4d3f5f08b9..5484297b53858dd647d65496f84e879365234311 100644 (file)
@@ -198,10 +198,10 @@ 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 "%{Referer}i -> %U" referer
-#LogFormat "%{User-agent}i" agent
+LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
 LogFormat "%t \"%r\"  %>s %b"
 
 #
index 5886ac235a18a3b2f5a7166cd0fa0de3edc2c0e3..29140de10ca4662d1fad70de7613c317545d6bc6 100644 (file)
@@ -198,10 +198,10 @@ 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 "%{Referer}i -> %U" referer
-#LogFormat "%{User-agent}i" agent
+LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
 LogFormat "%t \"%r\"  %>s %b"
 
 #
index 4e9c68c54800fe2b53505b0030e36fd027cab0c0..b064e5d892eaee06998bce7b11c4bbf67463d607 100644 (file)
@@ -198,10 +198,10 @@ 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 "%{Referer}i -> %U" referer
-#LogFormat "%{User-agent}i" agent
+LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
 LogFormat "%t \"%r\"  %>s %b"
 
 #
index 9e5cde6cd4e2323d67c0e4e1d1621d4d3f5f08b9..5484297b53858dd647d65496f84e879365234311 100644 (file)
@@ -198,10 +198,10 @@ 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 "%{Referer}i -> %U" referer
-#LogFormat "%{User-agent}i" agent
+LogFormat " %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat " %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
 LogFormat "%t \"%r\"  %>s %b"
 
 #