[Zope] Configuring Zope 2.7 for rotating file logger

Jens Vagelpohl jens at dataflake.org
Mon Sep 20 04:18:45 EDT 2004


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.

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