cyrille wrote:
Hello,
How do you handle da Log Rotation like Apache & logrotate ?? I use to make a monthly rotation & compression.
Thanks for tips & comment
Cyrille
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
If you use GNU/Linux Debian, simply put that (executable) script in /etc/cron.monhtly : #! /bin/bash echo "Rotating zope server logfile" cd /var/lib/zope/var/ savelog -g root -m 640 -u root -c 7 /var/lib/zope/var/Z2.log > /dev/null savelog -g root -m 640 -u root -c 7 /var/lib/zope/var/application.log > /dev/null /etc/init.d/zope restart The 'savelog' script is in debianutils package (a little bash script) If not, why don't you use debian ? :)