[Zope] Configuring Zope 2.7 for rotating file logger

Jens Vagelpohl jens at dataflake.org
Mon Sep 20 05:15:28 EDT 2004


On Sep 20, 2004, at 10:24, Johan Carlsson wrote:

> Jens Vagelpohl wrote:
>> On Sep 19, 2004, at 22:56, Stephen B. Kirby wrote:
>>> After installing Zope 2.7+ I discovered it's using the Python 
>>> logging system rather than the medusa logger.  Can Zope 2.7+ be 
>>> configured to use the ZServer.medusa.logger.rotating_file_logger for 
>>> "Access" logging, or some other rotating logger?
>>>
>>> I noticed that the Python logger has a rotating logger, however, it 
>>> only works on file size rather than frequency (e.g. daily, weekly, 
>>> monthly, etc.).  That's not adequate for my needs.
>> Again, if it's not good enough you should use log rotating services 
>> offered by your OS instead, like logrotate on Linux.
>
> What should be used on Windows?
>
> I've been using the Zope log-rotator in the past and
> would really like to have that capability to remain.
> (I like my batteries included.)

No idea. I don't use windows.

jens



---------------

Jens Vagelpohl			jens at zetwork.com
Software Engineer			Zope - done medium rare
Zetwork GmbH				http://www.zetwork.com/



More information about the Zope mailing list