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:
parent
237cf5d44b
commit
c5130548b5
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user