Skip to content

Commit 9ec9b42

Browse files
committed
wordpress: use combined_extended logging
1 parent 4bae034 commit 9ec9b42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbooks/wordpress/templates/default/apache.erb

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
ServerAdmin webmaster@openstreetmap.org
1010

11-
CustomLog /var/log/apache2/<%= @name %>-access.log combined
11+
CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended
1212
ErrorLog /var/log/apache2/<%= @name %>-error.log
1313

1414
RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
@@ -28,7 +28,7 @@
2828
SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
2929
SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
3030

31-
CustomLog /var/log/apache2/<%= @name %>-access.log combined
31+
CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended
3232
ErrorLog /var/log/apache2/<%= @name %>-error.log
3333

3434
RedirectPermanent / https://<%= @name %>/
@@ -44,7 +44,7 @@
4444
SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
4545
SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
4646

47-
CustomLog /var/log/apache2/<%= @name %>-access.log combined
47+
CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended
4848
ErrorLog /var/log/apache2/<%= @name %>-error.log
4949

5050
DocumentRoot <%= @directory %>

0 commit comments

Comments
 (0)