[Zope] Configuring Zope 2.7 for rotating file logger

Jens Vagelpohl jens at dataflake.org
Sun Sep 19 01:03:57 EDT 2004


On Sep 18, 2004, at 23:57, 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.

Use facilities offered by your OS to rotate logs then, like logrotate 
if you are on Linux.

jens



More information about the Zope mailing list