ceph/tasks/logrotate.conf
Greg Farnum 96f3eb9dbe ceph: support arbitrarily-named daemons in logrotate
And make it more configurable in terms of sizes.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:36:49 -07:00

14 lines
223 B
Plaintext

/var/log/ceph/*{daemon_type}*.log {{
rotate 100
size {max_size}
compress
sharedscripts
postrotate
killall {daemon_type} -1 || true
endscript
missingok
notifempty
su root root
}}