[ZendTo] Re: Rotating the zendto.log?

John Cooper johnpcooper at yahoo.com
Fri Aug 17 08:17:56 BST 2012


Need to add a file called zendto in /etc/logrotate.d/ with contents :-


/var/log/zendto/zendto.log {
    monthly
    notifempty
    create 644 apache apache
    rotate 12
}



On 16/08/12 18:31, Mike Brudenell wrote:
> Greetings -
>
> We've had ZendTo up and running for quite a time now and our users are 
> very pleased with it.
>
> However I've just noticed that the logfile in /var/zendto/zendto.log 
> doesn't seem to be being rotated: currently it still contains entries 
> going as far back as April when we set the service up.
>
> We installed ZendTo on Ubuntu from the package and configured its 
> preferences and config file. Does the lack of logfile rotation mean 
> we've overlooked doing something? Or is it that the package doesn't 
> include of itself anything to rotate the log and it's something we 
> have to add locally ourselves separately?
>
> (I've checked the /etc/cron.d/zendto crontab and 
> the /opt/zendto/sbin/cleanup.php script it runs, but neither seem to 
> touch the logfile.)
>
> Cheers,
> Mike B-)
>
> -- 
> IT Services, The University of York, Heslington, York YO10 5DD, UK
> Tel: +44-1904-323811
> Disclaimer: <http://www.york.ac.uk/docs/disclaimer/email.htm>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto



More information about the ZendTo mailing list