30 Dec
2004
30 Dec
'04
6:45 p.m.
Paul Winkler wrote at 2004-12-30 10:49 -0500:
... The common idiom after rotating Zope log files is:
kill -USR2 `cat $ZOPE_HOME/var/Z2.pid` """
What do people do with their ZEO server log?
I wrote a small module "Rotator". "Rotator" instances behave like a file but in fact open (and write) a new disk file at each day boundary. I extended Zope's logging machinery by a new "RotatedFile" handler. We use this for all logging -- and forget about special ways to rotate logs and mystic signals... -- Dieter