From d4c2f75a87aae00bd5fee0d3772797b6b6b498c2 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 18 Jul 2020 12:41:39 +0200 Subject: [PATCH] nominatim: also logrotate the ngninx error log --- cookbooks/nominatim/templates/default/logrotate.nginx.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2