-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? - -- Sincerely Jørgen Hermanrud Fjeld jhf@hex.no -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj0HTpsACgkQ9jvTqPy5VsoQEgCeKD5UhdE5w7bGv2OeJv+HUNuK RooAniVpyQghoYlatZvEoXGSj7meXLDz =/0Fd -----END PGP SIGNATURE-----
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On onsdag 12 juni 2002, 16:07, Janko Hauser wrote:
On Wed, 12 Jun 2002 15:37:31 +0200 ...
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
Great, looking forward to it! - -- Sincerely Jørgen Hermanrud Fjeld jhf@hex.no -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj0HVpoACgkQ9jvTqPy5VspPmwCeLH64g6CxvkAVk9JwSvod0ZKQ 9VwAnj2YrrbNT7e7RozaphOenmAby+5P =8yaL -----END PGP SIGNATURE-----
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 )
participants (3)
-
Chris McDonough -
Janko Hauser -
Jørgen Hermanrud Fjeld