[Zope] Configuring Zope 2.7 for rotating file logger

Johan Carlsson johanc at easypublisher.com
Mon Sep 20 04:24:11 EDT 2004


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.)


-- 
Johan Carlsson          Tel: + 46 8 31 24 94
Colliberty              Mob: + 46 70 558 25 24
Torsgatan 72            Email: johanc at easypublisher.com
SE-113 37 STOCKHOLM


More information about the Zope mailing list