From: Sarah Hoffmann Date: Sat, 18 Jul 2020 10:41:39 +0000 (+0200) Subject: nominatim: also logrotate the ngninx error log X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/d4c2f75a87aae00bd5fee0d3772797b6b6b498c2 nominatim: also logrotate the ngninx error log --- diff --git a/cookbooks/nominatim/templates/default/logrotate.nginx.erb b/cookbooks/nominatim/templates/default/logrotate.nginx.erb index 5bbd02eff..3dffbd216 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nginx.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nginx.erb @@ -14,7 +14,7 @@ endscript } -<%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-access.log { +<%= node[:nominatim][:logdir] %>/nominatim.openstreetmap.org-*.log { daily missingok rotate 28