* Collect all logs under the /var/log/koha directory. * Setup logrotate * Use a static instance name, leading to simpler configuration.
15 lines
268 B
Plaintext
15 lines
268 B
Plaintext
/var/log/koha/*/*.log {
|
|
rotate 5
|
|
weekly
|
|
missingok
|
|
copytruncate
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
sharedscripts
|
|
postrotate
|
|
/command/s6-svc -h /run/service/apache2
|
|
/command/s6-svc -r /run/service/plack
|
|
endscript
|
|
}
|