[Zope-dev] zc.zope3recipes:instance: zdaemon/eventlog rotatation
Christian Zagrodnick
cz at gocept.com
Wed Sep 16 05:28:10 EDT 2009
Hi,
The zc.zope3recipes:instance recipe creates a zdaemon.conf which writes
the transcript_log and zdaemon's eventlog to the same file. That's
actually fine.
ZDaemon's reopen_transcript does exactly that: it reopens *only* the
transcript. So when rotating the logfile (as zc.zope3recipes does it
via logrotate) ZDaemon messages still go to the old logfile.
I see two obvious ways to fix that:
a) Write ZDaemon's eventlog to stdout
b) Add a sane way to reopen the logfile. There is a logreopen command
in ZDaemon but that actually restarts the daemon process.
Comments? Suggestsions?
--
Christian Zagrodnick · cz at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development
More information about the Zope-Dev
mailing list