projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
36ad883
)
Log upstream IP on tile servers
author
Tom Hughes
<tom@compton.nu>
Tue, 29 Nov 2016 10:37:15 +0000
(10:37 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 29 Nov 2016 10:54:31 +0000
(10:54 +0000)
cookbooks/tile/templates/default/apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tile/templates/default/apache.erb
b/cookbooks/tile/templates/default/apache.erb
index 4fcbf9b478a16d66b08a8d4710d823fd7c7c385b..c41c923bf225a3eac464f426dc81c2f773df8212 100644
(file)
--- a/
cookbooks/tile/templates/default/apache.erb
+++ b/
cookbooks/tile/templates/default/apache.erb
@@
-22,7
+22,8
@@
<% end -%>
# Setup logging
- CustomLog /var/log/apache2/access.log combined
+ LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined_with_remoteip
+ CustomLog /var/log/apache2/access.log combined_with_remoteip
ErrorLog /var/log/apache2/error.log
BufferedLogs on