[Zope] Z2.log and Date stamps 2nd Call for answers????

Ken Weiss ken.weiss@ucop.edu
Thu, 9 Mar 2000 08:16:09 -0800


I can confirm and reproduce this problem, and on a totally different 
architecture - Red Hat Linux system with Zope 2.1.4. Here's a snippet 
from my /var/log/messages file:

Mar  8 10:14:18 akpi ZServer[24689]: 127.0.0.1- -
[08/Mar/2000:18:14:18 -0700] "GET /manage" 401 1782


Notice that the timestamp from the syslog facility is the correct 
local time, March 8 10:14:18, which is Pacific Standard Time. On the 
very same line, the timestamp passed to the syslog from Z2 is in GMT, 
08/Mar/2000:18:14:18 -0700. My guess is that Zope isn't picking up 
the $TZ environment variable. What I don't get is why it's showing 
GMT as 18:14:18 -0700. That would imply a local time of 11:14:18. I 
think it should be 18:14:18 -0800 right now, and -0700 during 
daylight savings time. Two, two, two bugs in one!

--Ken




At 12:00 PM -0800 3/8/00, zope-admin@zope.org wrote:
>Message: 34
>Date: Wed, 08 Mar 2000 10:53:54 -0800
>From: Michel Pelletier <michel@digicool.com>
>To: CURTIS David <David.Curtis@state.or.us>
>CC: IPM Return requested Receipt notification requested <Zope@zope.org>
>Subject: Re: [Zope] Z2.log and Date stamps 2nd Call for answers????
>
>We need a couple more data points before we can blame Zope for this or
>understand possibly what is happening.  Can any one else verify and
>reproduce CURTIS David's problem?
>
>-Michel
>
>CURTIS David wrote:
>>
>>  Friends of Zope,
>>
>>  My  Z2.log file entries which are in the  /var/Z2.log are 
>>inconsistent with the actual system time.
>>  The Z2.log file shows
>>  123.123.123.123 [08/Mar/2000:16:49:40-0700]
>>
-------------------------------------------------------------------------
Ken Weiss                                              ken.weiss@ucop.edu
California Digital Library Technologies            (510) 710-3356 (voice)
UC Office of the President                           (510) 763-2471 (fax)
1111 Franklin Street #7313B          ken.weiss.pager@ucop.edu (text page)
Oakland, CA  94607-5200              http://dcas.ucdavis.edu/kenhome.html

PGP public key stored at:
           ldap://certserver.pgp.com
           http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=ken+weiss