[Bucardo-general] log.bucardo logrotate
Jonathan Brinkman
JB at BlackSkyTech.com
Mon Jul 25 18:41:30 UTC 2011
Greetings
In order to manage the log.bucardo file, I've created a logrotate script.
STEP 1:
sudo nano /etc/logrotate.d/bucardo
STEP 2 (insert this into the new file):
/path/to/log.bucardo {
missingok
notifempty
size 10M
create 700 root root
compress
copytruncate
dateext
rotate 3
maxage 100
}
STEP 3: run logrotate manually
sudo logrotate -s /var/log/logstatus /etc/logrotate.conf
Is there a better practice for managing this log file?
Thank you!
Jonathan
More information about the Bucardo-general
mailing list