The signal handling stuff in Zope CVS (and that will be part of 2.6) will allow you to use something like RedHat's "logrotate" machinery to rotate all Zope logs on a scheduled basis. ----- Original Message ----- From: "Janko Hauser" <jh@comunit.de> To: <zope@zope.org> Sent: Wednesday, June 12, 2002 10:07 AM Subject: Re: [Zope] Standard logging?
On Wed, 12 Jun 2002 15:37:31 +0200 J <jhf@hex.no> wrote:
Hi. I wondered why Zope didn't: - -Came with a default rotating log schema that adheres to apache standard, with LOGDIR=$INSTANCE_HOME/logs LOGFILE=$LOGDIR/access_log - -And used rotating logs with weekly/daily rotations by default, by using rotating_file_logger
This would, in my eyes, make it easier to generate statistics, without having to edit z2.py
Are there any arguments for not doing this?
And why isn't the logfile in CLF? As far as I can see, it incorporates all logs, that is i.e. FTP that isn't understood by i.e. webalizer.
How are one planning to this in the future?
Already partly done in the CVS which will become Zope2.6 (not by me, just noticed) There is a signal handling, which also rotates logs given the right signal.
HTH, __Janko
-- i.A. Dr. Janko Hauser Software Engineering c o m . u n i t G m b H online-schmiede seit 1994
http://www.comunit.de/ mailto:jh@comunit.de Eiffestr. 598 20537 Hamburg | Germany Fon 040 | 21 11 05 25 Fax 040 | 21 11 05 26
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )