Configuring Zope 2.7 for rotating file logger
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.
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
participants (2)
-
Jens Vagelpohl -
Stephen B. Kirby