[Zope-dev] rotating_file_logger error

Terry Kerr terry@adroit.net
Wed, 10 Oct 2001 13:07:48 +1000


Hi,

After seeing http://www.zope.org/Members/tim/logmanagement I attempted
to setup log file rotation but Zope wouldn't start due to an error in
ZServer/medusa/logger.py (Zope 2.4.1).

The error is obvious at lines 106,108,110, time.mktime() is called with
9 arguements rather than a tuple of 9 elements.  Simple changing this
appears to fix the rotating logger.

Surely others have come across this?  Or am I the only one who rotates
Zope logs like this?

I would put it inthe collector except that it is down.

terry


-- 
Terry Kerr (terry@adroit.net)
Chief Technical Officer
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
ICQ: 79303381