ansible/roles/unbound/templates/unbound-logrotate.j2
Yohaï-Eliel BERREBY c54e8f5d67 unbound: smarter logging
- stop using journald, write to /var/log/unbound/
- set up frequent log rotation for the huge log files
we are producing
2020-05-02 17:13:01 +02:00

13 lines
188 B
Django/Jinja

/var/log/unbound/*.log {
daily
rotate 30
missingok
notifempty
compress
delaycompress
sharedscripts
create 644
postrotate
/usr/local/sbin/unbound-control log_reopen
endscript
}