[ZendTo] logrotate for zendto.log
Brad Beckenhauer
bbecken at aafp.org
Fri Sep 17 17:49:15 BST 2010
I do not see any mechanism to logrotate the /var/zendto/zendto.log file.
Perhaps create one or document that the installer may want to consider creating one.
A starting suggestion for the log rotation script:
file: /etc/logrotate.d/zendto
/var/zendto/zendto.log {
# rotate log files: daily | weekly | monthly
monthly
# keep x rotations of backlogs
rotate 12
# uncomment this if you want your log files compressed
#compress
# create new (empty) log files after rotating old one with the
# same permissions, owner, and group as the file being rotated
create 664 apache apache
# do not rotate the log file if it is empty
notifempty
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100917/abd066fc/attachment.html
More information about the ZendTo
mailing list