X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20470a64f04ff1fc122fc5b214c9fc44b364bcee..aa02df0d2f61fb4d1839e1e9fca1ec95c249572a:/cookbooks/nominatim/templates/default/logrotate.nominatim.erb diff --git a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb index 6a8412ba3..0b853f79f 100644 --- a/cookbooks/nominatim/templates/default/logrotate.nominatim.erb +++ b/cookbooks/nominatim/templates/default/logrotate.nominatim.erb @@ -3,9 +3,19 @@ /var/log/nominatim/update.log { weekly missingok - rotate 12 + rotate 5 compress delaycompress notifempty - create 640 root adm + create 640 nominatim adm +} + +/var/log/nominatim/query.log { + weekly + missingok + rotate 8 + compress + delaycompress + notifempty + create 640 www-data adm }