[Zope] Log Rotation Script?

Peter Bengtsson peter at fry-it.com
Wed Aug 16 05:34:43 EDT 2006


We use a program (on Linux) called logrotate.
When you install it, you'll get a directory called /etc/logrotate.d/
in there you can put a config file for zope that can look like this::
/var/lib/zope-*/*/log/*.log {
         weekly
         missingok
         rotate 52
         compress
         delaycompress
         create 640 zope zope
         sharedscripts
         postrotate
         zopectl logrotate
         endscript
}


zope at 2012.vi wrote:
> Hi;
> Does anyone have a good log rotation script for rotating the Z2.log and 
> event.log files?
> TIA,
> beno
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
> 

-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list