[Zope] Standard logging?

Janko Hauser jh@comunit.de
Wed, 12 Jun 2002 16:07:21 +0200


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