SHA256
1
0
forked from pool/apache2

Accepting request 735419 from home:guoyunhe:branches:Apache

- Add custom log files to logrotate according to apache2-vhost.template

In apache2-vhost.template, we recommend users to create custom logs like `/var/log/apache2/dummy-host.example.com-access_log`. But these files are not processed by logrotate and will grow fast. So I add these files to logrotate configuration.

OBS-URL: https://build.opensuse.org/request/show/735419
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=587
This commit is contained in:
Petr Gajdos 2019-10-07 07:27:44 +00:00 committed by Git OBS Bridge
parent 237cf5d44b
commit c5130548b5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 5 14:03:54 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
- Add custom log files to logrotate according to apache2-vhost.template
-------------------------------------------------------------------
Fri Aug 23 18:06:12 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,4 +1,4 @@
/var/log/apache2/access_log /var/log/apache2/ssl_request_log {
/var/log/apache2/access_log /var/log/apache2/*-access_log /var/log/apache2/ssl_request_log {
compress
dateext
maxage 365
@ -14,7 +14,7 @@
endscript
}
/var/log/apache2/error_log /var/log/apache2/suexec.log /var/log/apache2/ssl_engine_log /var/log/apache2/deflate.log {
/var/log/apache2/error_log /var/log/apache2/*-error_log /var/log/apache2/suexec.log /var/log/apache2/ssl_engine_log /var/log/apache2/deflate.log {
compress
dateext
maxage 365