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 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@zetwork.com Software Engineer Zope - done medium rare Zetwork GmbH http://www.zetwork.com/
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@easypublisher.com SE-113 37 STOCKHOLM
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@zetwork.com Software Engineer Zope - done medium rare Zetwork GmbH http://www.zetwork.com/
participants (3)
-
Jens Vagelpohl -
Johan Carlsson -
Stephen B. Kirby