22 Apr
2004
22 Apr
'04
5:16 p.m.
Bobb said:
Sure you can, I do it every night with a cron job.
The only thing to be careful of is that you want a postrotate script that tells zope to reopen the log file. See doc/SIGNALS.txt to learn how to tell zope that, and the logrotate man page to learn how about postrotate.
I read this... http://cvs.zope.org/Zope/doc/SIGNALS.txt?rev=1.3.44.1&content-type=text/vnd.... But could you send an example, currently I have: postrotate /usr/bin/kill -USR2 `cat /usr/local/zope/var/Z2.pid` endscript Which I think is dead wrong. Jake -- http://www.ZopeZone.com