nominatim: move apache log into nominatim logdir
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index 652fd93a334251e9a3133f1d3a4f2e5062dc5b8e..39fa83289506f9b0f133b94c1b052ccb1a6a7922 100644 (file)
@@ -27,7 +27,7 @@
 
     RequestReadTimeout header=15-30,MinRate=500 body=15-30,MinRate=500
 
-    CustomLog /var/log/apache2/nominatim.openstreetmap.org-access.log combined
+    CustomLog <%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log combined
     ErrorLog /var/log/apache2/nominatim.openstreetmap.org-error.log
 
     DocumentRoot <%= @directory %>/website